aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/mc13783-pwrbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/mc13783-pwrbutton.c')
-rw-r--r--drivers/input/misc/mc13783-pwrbutton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/misc/mc13783-pwrbutton.c b/drivers/input/misc/mc13783-pwrbutton.c
index 8428f1e8e83..0906ca593d5 100644
--- a/drivers/input/misc/mc13783-pwrbutton.c
+++ b/drivers/input/misc/mc13783-pwrbutton.c
@@ -89,7 +89,7 @@ static irqreturn_t button_irq(int irq, void *_priv)
89 return IRQ_HANDLED; 89 return IRQ_HANDLED;
90} 90}
91 91
92static int __devinit mc13783_pwrbutton_probe(struct platform_device *pdev) 92static int mc13783_pwrbutton_probe(struct platform_device *pdev)
93{ 93{
94 const struct mc13xxx_buttons_platform_data *pdata; 94 const struct mc13xxx_buttons_platform_data *pdata;
95 struct mc13xxx *mc13783 = dev_get_drvdata(pdev->dev.parent); 95 struct mc13xxx *mc13783 = dev_get_drvdata(pdev->dev.parent);
@@ -230,7 +230,7 @@ free_input_dev:
230 return err; 230 return err;
231} 231}
232 232
233static int __devexit mc13783_pwrbutton_remove(struct platform_device *pdev) 233static int mc13783_pwrbutton_remove(struct platform_device *pdev)
234{ 234{
235 struct mc13783_pwrb *priv = platform_get_drvdata(pdev); 235 struct mc13783_pwrb *priv = platform_get_drvdata(pdev);
236 const struct mc13xxx_buttons_platform_data *pdata; 236 const struct mc13xxx_buttons_platform_data *pdata;
@@ -257,7 +257,7 @@ static int __devexit mc13783_pwrbutton_remove(struct platform_device *pdev)
257 257
258static struct platform_driver mc13783_pwrbutton_driver = { 258static struct platform_driver mc13783_pwrbutton_driver = {
259 .probe = mc13783_pwrbutton_probe, 259 .probe = mc13783_pwrbutton_probe,
260 .remove = __devexit_p(mc13783_pwrbutton_remove), 260 .remove = mc13783_pwrbutton_remove,
261 .driver = { 261 .driver = {
262 .name = "mc13783-pwrbutton", 262 .name = "mc13783-pwrbutton",
263 .owner = THIS_MODULE, 263 .owner = THIS_MODULE,