aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/pxa930_trkball.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/mouse/pxa930_trkball.c')
-rw-r--r--drivers/input/mouse/pxa930_trkball.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/mouse/pxa930_trkball.c b/drivers/input/mouse/pxa930_trkball.c
index 4fe055f2c536..0ecb9e7945eb 100644
--- a/drivers/input/mouse/pxa930_trkball.c
+++ b/drivers/input/mouse/pxa930_trkball.c
@@ -143,7 +143,7 @@ static void pxa930_trkball_close(struct input_dev *dev)
143 pxa930_trkball_disable(trkball); 143 pxa930_trkball_disable(trkball);
144} 144}
145 145
146static int __devinit pxa930_trkball_probe(struct platform_device *pdev) 146static int pxa930_trkball_probe(struct platform_device *pdev)
147{ 147{
148 struct pxa930_trkball *trkball; 148 struct pxa930_trkball *trkball;
149 struct input_dev *input; 149 struct input_dev *input;
@@ -230,7 +230,7 @@ failed:
230 return error; 230 return error;
231} 231}
232 232
233static int __devexit pxa930_trkball_remove(struct platform_device *pdev) 233static int pxa930_trkball_remove(struct platform_device *pdev)
234{ 234{
235 struct pxa930_trkball *trkball = platform_get_drvdata(pdev); 235 struct pxa930_trkball *trkball = platform_get_drvdata(pdev);
236 int irq = platform_get_irq(pdev, 0); 236 int irq = platform_get_irq(pdev, 0);
@@ -248,7 +248,7 @@ static struct platform_driver pxa930_trkball_driver = {
248 .name = "pxa930-trkball", 248 .name = "pxa930-trkball",
249 }, 249 },
250 .probe = pxa930_trkball_probe, 250 .probe = pxa930_trkball_probe,
251 .remove = __devexit_p(pxa930_trkball_remove), 251 .remove = pxa930_trkball_remove,
252}; 252};
253module_platform_driver(pxa930_trkball_driver); 253module_platform_driver(pxa930_trkball_driver);
254 254