aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/ab8500-ponkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/ab8500-ponkey.c')
-rw-r--r--drivers/input/misc/ab8500-ponkey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c
index 84ec691c05a..2f090b46e71 100644
--- a/drivers/input/misc/ab8500-ponkey.c
+++ b/drivers/input/misc/ab8500-ponkey.c
@@ -45,7 +45,7 @@ static irqreturn_t ab8500_ponkey_handler(int irq, void *data)
45 return IRQ_HANDLED; 45 return IRQ_HANDLED;
46} 46}
47 47
48static int __devinit ab8500_ponkey_probe(struct platform_device *pdev) 48static int ab8500_ponkey_probe(struct platform_device *pdev)
49{ 49{
50 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); 50 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent);
51 struct ab8500_ponkey *ponkey; 51 struct ab8500_ponkey *ponkey;
@@ -118,7 +118,7 @@ err_free_mem:
118 return error; 118 return error;
119} 119}
120 120
121static int __devexit ab8500_ponkey_remove(struct platform_device *pdev) 121static int ab8500_ponkey_remove(struct platform_device *pdev)
122{ 122{
123 struct ab8500_ponkey *ponkey = platform_get_drvdata(pdev); 123 struct ab8500_ponkey *ponkey = platform_get_drvdata(pdev);
124 124
@@ -146,7 +146,7 @@ static struct platform_driver ab8500_ponkey_driver = {
146 .of_match_table = of_match_ptr(ab8500_ponkey_match), 146 .of_match_table = of_match_ptr(ab8500_ponkey_match),
147 }, 147 },
148 .probe = ab8500_ponkey_probe, 148 .probe = ab8500_ponkey_probe,
149 .remove = __devexit_p(ab8500_ponkey_remove), 149 .remove = ab8500_ponkey_remove,
150}; 150};
151module_platform_driver(ab8500_ponkey_driver); 151module_platform_driver(ab8500_ponkey_driver);
152 152