aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/xo1-rfkill.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-01-15 15:05:59 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-15 15:05:59 -0500
commit4b87f922598acf91eee18f71688a33f54f57bcde (patch)
tree9cdfe30c6b96c47093da5392ed82d147290cd64c /drivers/platform/x86/xo1-rfkill.c
parent55eb555d9674e2ebe9d4de0146602f96ff18e7d6 (diff)
parentdaf3ec688e057f6060fb9bb0819feac7a8bbf45c (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: Documentation/networking/ip-sysctl.txt drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c Both conflicts were simply overlapping context. A build fix for qlcnic is in here too, simply removing the added devinit annotations which no longer exist. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/platform/x86/xo1-rfkill.c')
-rw-r--r--drivers/platform/x86/xo1-rfkill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/xo1-rfkill.c b/drivers/platform/x86/xo1-rfkill.c
index 1da13ed34b04..4bd17248dfc6 100644
--- a/drivers/platform/x86/xo1-rfkill.c
+++ b/drivers/platform/x86/xo1-rfkill.c
@@ -40,7 +40,7 @@ static const struct rfkill_ops rfkill_ops = {
40 .set_block = rfkill_set_block, 40 .set_block = rfkill_set_block,
41}; 41};
42 42
43static int __devinit xo1_rfkill_probe(struct platform_device *pdev) 43static int xo1_rfkill_probe(struct platform_device *pdev)
44{ 44{
45 struct rfkill *rfk; 45 struct rfkill *rfk;
46 int r; 46 int r;
@@ -60,7 +60,7 @@ static int __devinit xo1_rfkill_probe(struct platform_device *pdev)
60 return 0; 60 return 0;
61} 61}
62 62
63static int __devexit xo1_rfkill_remove(struct platform_device *pdev) 63static int xo1_rfkill_remove(struct platform_device *pdev)
64{ 64{
65 struct rfkill *rfk = platform_get_drvdata(pdev); 65 struct rfkill *rfk = platform_get_drvdata(pdev);
66 rfkill_unregister(rfk); 66 rfkill_unregister(rfk);
@@ -74,7 +74,7 @@ static struct platform_driver xo1_rfkill_driver = {
74 .owner = THIS_MODULE, 74 .owner = THIS_MODULE,
75 }, 75 },
76 .probe = xo1_rfkill_probe, 76 .probe = xo1_rfkill_probe,
77 .remove = __devexit_p(xo1_rfkill_remove), 77 .remove = xo1_rfkill_remove,
78}; 78};
79 79
80module_platform_driver(xo1_rfkill_driver); 80module_platform_driver(xo1_rfkill_driver);