aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/tnetv107x-keypad.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/tnetv107x-keypad.c')
-rw-r--r--drivers/input/keyboard/tnetv107x-keypad.c14
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 325module_platform_driver(keypad_driver);
326static int __init keypad_init(void)
327{
328 return platform_driver_register(&keypad_driver);
329}
330
331static void __exit keypad_exit(void)
332{
333 platform_driver_unregister(&keypad_driver);
334}
335
336module_init(keypad_init);
337module_exit(keypad_exit);
338 326
339MODULE_AUTHOR("Cyril Chemparathy"); 327MODULE_AUTHOR("Cyril Chemparathy");
340MODULE_DESCRIPTION("TNETV107X Keypad Driver"); 328MODULE_DESCRIPTION("TNETV107X Keypad Driver");