aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/ixp4xx-beeper.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/ixp4xx-beeper.c')
-rw-r--r--drivers/input/misc/ixp4xx-beeper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/misc/ixp4xx-beeper.c b/drivers/input/misc/ixp4xx-beeper.c
index 50e28306830..6ab3decc86e 100644
--- a/drivers/input/misc/ixp4xx-beeper.c
+++ b/drivers/input/misc/ixp4xx-beeper.c
@@ -87,7 +87,7 @@ static irqreturn_t ixp4xx_spkr_interrupt(int irq, void *dev_id)
87 return IRQ_HANDLED; 87 return IRQ_HANDLED;
88} 88}
89 89
90static int __devinit ixp4xx_spkr_probe(struct platform_device *dev) 90static int ixp4xx_spkr_probe(struct platform_device *dev)
91{ 91{
92 struct input_dev *input_dev; 92 struct input_dev *input_dev;
93 int err; 93 int err;
@@ -132,7 +132,7 @@ static int __devinit ixp4xx_spkr_probe(struct platform_device *dev)
132 return err; 132 return err;
133} 133}
134 134
135static int __devexit ixp4xx_spkr_remove(struct platform_device *dev) 135static int ixp4xx_spkr_remove(struct platform_device *dev)
136{ 136{
137 struct input_dev *input_dev = platform_get_drvdata(dev); 137 struct input_dev *input_dev = platform_get_drvdata(dev);
138 unsigned int pin = (unsigned int) input_get_drvdata(input_dev); 138 unsigned int pin = (unsigned int) input_get_drvdata(input_dev);
@@ -165,7 +165,7 @@ static struct platform_driver ixp4xx_spkr_platform_driver = {
165 .owner = THIS_MODULE, 165 .owner = THIS_MODULE,
166 }, 166 },
167 .probe = ixp4xx_spkr_probe, 167 .probe = ixp4xx_spkr_probe,
168 .remove = __devexit_p(ixp4xx_spkr_remove), 168 .remove = ixp4xx_spkr_remove,
169 .shutdown = ixp4xx_spkr_shutdown, 169 .shutdown = ixp4xx_spkr_shutdown,
170}; 170};
171module_platform_driver(ixp4xx_spkr_platform_driver); 171module_platform_driver(ixp4xx_spkr_platform_driver);