diff options
Diffstat (limited to 'drivers/input/keyboard/pxa930_rotary.c')
-rw-r--r-- | drivers/input/keyboard/pxa930_rotary.c | 13 |
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 | 198 | module_platform_driver(pxa930_rotary_driver); | |
199 | static int __init pxa930_rotary_init(void) | ||
200 | { | ||
201 | return platform_driver_register(&pxa930_rotary_driver); | ||
202 | } | ||
203 | module_init(pxa930_rotary_init); | ||
204 | |||
205 | static void __exit pxa930_rotary_exit(void) | ||
206 | { | ||
207 | platform_driver_unregister(&pxa930_rotary_driver); | ||
208 | } | ||
209 | module_exit(pxa930_rotary_exit); | ||
210 | 199 | ||
211 | MODULE_LICENSE("GPL"); | 200 | MODULE_LICENSE("GPL"); |
212 | MODULE_DESCRIPTION("Driver for PXA93x Enhanced Rotary Controller"); | 201 | MODULE_DESCRIPTION("Driver for PXA93x Enhanced Rotary Controller"); |