aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/pxa930_rotary.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/pxa930_rotary.c')
-rw-r--r--drivers/input/keyboard/pxa930_rotary.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/keyboard/pxa930_rotary.c b/drivers/input/keyboard/pxa930_rotary.c
index 35451bf780c..d7f1134b789 100644
--- a/drivers/input/keyboard/pxa930_rotary.c
+++ b/drivers/input/keyboard/pxa930_rotary.c
@@ -195,18 +195,7 @@ static struct platform_driver pxa930_rotary_driver = {
195 .probe = pxa930_rotary_probe, 195 .probe = pxa930_rotary_probe,
196 .remove = __devexit_p(pxa930_rotary_remove), 196 .remove = __devexit_p(pxa930_rotary_remove),
197}; 197};
198 198module_platform_driver(pxa930_rotary_driver);
199static int __init pxa930_rotary_init(void)
200{
201 return platform_driver_register(&pxa930_rotary_driver);
202}
203module_init(pxa930_rotary_init);
204
205static void __exit pxa930_rotary_exit(void)
206{
207 platform_driver_unregister(&pxa930_rotary_driver);
208}
209module_exit(pxa930_rotary_exit);
210 199
211MODULE_LICENSE("GPL"); 200MODULE_LICENSE("GPL");
212MODULE_DESCRIPTION("Driver for PXA93x Enhanced Rotary Controller"); 201MODULE_DESCRIPTION("Driver for PXA93x Enhanced Rotary Controller");