aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/da9052_onkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/da9052_onkey.c')
-rw-r--r--drivers/input/misc/da9052_onkey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/misc/da9052_onkey.c b/drivers/input/misc/da9052_onkey.c
index 3c843cd725f..630c1ce4980 100644
--- a/drivers/input/misc/da9052_onkey.c
+++ b/drivers/input/misc/da9052_onkey.c
@@ -71,7 +71,7 @@ static irqreturn_t da9052_onkey_irq(int irq, void *data)
71 return IRQ_HANDLED; 71 return IRQ_HANDLED;
72} 72}
73 73
74static int __devinit da9052_onkey_probe(struct platform_device *pdev) 74static int da9052_onkey_probe(struct platform_device *pdev)
75{ 75{
76 struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent); 76 struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent);
77 struct da9052_onkey *onkey; 77 struct da9052_onkey *onkey;
@@ -141,7 +141,7 @@ err_free_mem:
141 return error; 141 return error;
142} 142}
143 143
144static int __devexit da9052_onkey_remove(struct platform_device *pdev) 144static int da9052_onkey_remove(struct platform_device *pdev)
145{ 145{
146 struct da9052_onkey *onkey = platform_get_drvdata(pdev); 146 struct da9052_onkey *onkey = platform_get_drvdata(pdev);
147 147
@@ -156,7 +156,7 @@ static int __devexit da9052_onkey_remove(struct platform_device *pdev)
156 156
157static struct platform_driver da9052_onkey_driver = { 157static struct platform_driver da9052_onkey_driver = {
158 .probe = da9052_onkey_probe, 158 .probe = da9052_onkey_probe,
159 .remove = __devexit_p(da9052_onkey_remove), 159 .remove = da9052_onkey_remove,
160 .driver = { 160 .driver = {
161 .name = "da9052-onkey", 161 .name = "da9052-onkey",
162 .owner = THIS_MODULE, 162 .owner = THIS_MODULE,