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 3be3acc3a6eb..020569a499f2 100644
--- a/drivers/input/misc/da9052_onkey.c
+++ b/drivers/input/misc/da9052_onkey.c
@@ -70,7 +70,7 @@ static irqreturn_t da9052_onkey_irq(int irq, void *data)
70 return IRQ_HANDLED; 70 return IRQ_HANDLED;
71} 71}
72 72
73static int __devinit da9052_onkey_probe(struct platform_device *pdev) 73static int da9052_onkey_probe(struct platform_device *pdev)
74{ 74{
75 struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent); 75 struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent);
76 struct da9052_onkey *onkey; 76 struct da9052_onkey *onkey;
@@ -129,7 +129,7 @@ err_free_mem:
129 return error; 129 return error;
130} 130}
131 131
132static int __devexit da9052_onkey_remove(struct platform_device *pdev) 132static int da9052_onkey_remove(struct platform_device *pdev)
133{ 133{
134 struct da9052_onkey *onkey = platform_get_drvdata(pdev); 134 struct da9052_onkey *onkey = platform_get_drvdata(pdev);
135 135
@@ -144,7 +144,7 @@ static int __devexit da9052_onkey_remove(struct platform_device *pdev)
144 144
145static struct platform_driver da9052_onkey_driver = { 145static struct platform_driver da9052_onkey_driver = {
146 .probe = da9052_onkey_probe, 146 .probe = da9052_onkey_probe,
147 .remove = __devexit_p(da9052_onkey_remove), 147 .remove = da9052_onkey_remove,
148 .driver = { 148 .driver = {
149 .name = "da9052-onkey", 149 .name = "da9052-onkey",
150 .owner = THIS_MODULE, 150 .owner = THIS_MODULE,