diff options
Diffstat (limited to 'drivers/input/keyboard/ep93xx_keypad.c')
-rw-r--r-- | drivers/input/keyboard/ep93xx_keypad.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c index 4662c5da8018..0ba69f3fcb52 100644 --- a/drivers/input/keyboard/ep93xx_keypad.c +++ b/drivers/input/keyboard/ep93xx_keypad.c | |||
@@ -390,19 +390,7 @@ static struct platform_driver ep93xx_keypad_driver = { | |||
390 | .suspend = ep93xx_keypad_suspend, | 390 | .suspend = ep93xx_keypad_suspend, |
391 | .resume = ep93xx_keypad_resume, | 391 | .resume = ep93xx_keypad_resume, |
392 | }; | 392 | }; |
393 | 393 | module_platform_driver(ep93xx_keypad_driver); | |
394 | static int __init ep93xx_keypad_init(void) | ||
395 | { | ||
396 | return platform_driver_register(&ep93xx_keypad_driver); | ||
397 | } | ||
398 | |||
399 | static void __exit ep93xx_keypad_exit(void) | ||
400 | { | ||
401 | platform_driver_unregister(&ep93xx_keypad_driver); | ||
402 | } | ||
403 | |||
404 | module_init(ep93xx_keypad_init); | ||
405 | module_exit(ep93xx_keypad_exit); | ||
406 | 394 | ||
407 | MODULE_LICENSE("GPL"); | 395 | MODULE_LICENSE("GPL"); |
408 | MODULE_AUTHOR("H Hartley Sweeten <hsweeten@visionengravers.com>"); | 396 | MODULE_AUTHOR("H Hartley Sweeten <hsweeten@visionengravers.com>"); |