diff options
Diffstat (limited to 'drivers/input/keyboard/omap4-keypad.c')
-rw-r--r-- | drivers/input/keyboard/omap4-keypad.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index c51a3c4a7feb..d5c5d77f4b82 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c | |||
@@ -335,18 +335,7 @@ static struct platform_driver omap4_keypad_driver = { | |||
335 | .owner = THIS_MODULE, | 335 | .owner = THIS_MODULE, |
336 | }, | 336 | }, |
337 | }; | 337 | }; |
338 | 338 | module_platform_driver(omap4_keypad_driver); | |
339 | static int __init omap4_keypad_init(void) | ||
340 | { | ||
341 | return platform_driver_register(&omap4_keypad_driver); | ||
342 | } | ||
343 | module_init(omap4_keypad_init); | ||
344 | |||
345 | static void __exit omap4_keypad_exit(void) | ||
346 | { | ||
347 | platform_driver_unregister(&omap4_keypad_driver); | ||
348 | } | ||
349 | module_exit(omap4_keypad_exit); | ||
350 | 339 | ||
351 | MODULE_AUTHOR("Texas Instruments"); | 340 | MODULE_AUTHOR("Texas Instruments"); |
352 | MODULE_DESCRIPTION("OMAP4 Keypad Driver"); | 341 | MODULE_DESCRIPTION("OMAP4 Keypad Driver"); |