diff options
Diffstat (limited to 'drivers/input/keyboard/tnetv107x-keypad.c')
-rw-r--r-- | drivers/input/keyboard/tnetv107x-keypad.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/input/keyboard/tnetv107x-keypad.c b/drivers/input/keyboard/tnetv107x-keypad.c index 66e55e5cfdd6..fb39c94b6fdd 100644 --- a/drivers/input/keyboard/tnetv107x-keypad.c +++ b/drivers/input/keyboard/tnetv107x-keypad.c | |||
@@ -322,19 +322,7 @@ static struct platform_driver keypad_driver = { | |||
322 | .driver.name = "tnetv107x-keypad", | 322 | .driver.name = "tnetv107x-keypad", |
323 | .driver.owner = THIS_MODULE, | 323 | .driver.owner = THIS_MODULE, |
324 | }; | 324 | }; |
325 | 325 | module_platform_driver(keypad_driver); | |
326 | static int __init keypad_init(void) | ||
327 | { | ||
328 | return platform_driver_register(&keypad_driver); | ||
329 | } | ||
330 | |||
331 | static void __exit keypad_exit(void) | ||
332 | { | ||
333 | platform_driver_unregister(&keypad_driver); | ||
334 | } | ||
335 | |||
336 | module_init(keypad_init); | ||
337 | module_exit(keypad_exit); | ||
338 | 326 | ||
339 | MODULE_AUTHOR("Cyril Chemparathy"); | 327 | MODULE_AUTHOR("Cyril Chemparathy"); |
340 | MODULE_DESCRIPTION("TNETV107X Keypad Driver"); | 328 | MODULE_DESCRIPTION("TNETV107X Keypad Driver"); |