diff options
Diffstat (limited to 'drivers/input/keyboard/twl4030_keypad.c')
-rw-r--r-- | drivers/input/keyboard/twl4030_keypad.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/keyboard/twl4030_keypad.c b/drivers/input/keyboard/twl4030_keypad.c index a26922cf0e84..a588578037eb 100644 --- a/drivers/input/keyboard/twl4030_keypad.c +++ b/drivers/input/keyboard/twl4030_keypad.c | |||
@@ -460,18 +460,7 @@ static struct platform_driver twl4030_kp_driver = { | |||
460 | .owner = THIS_MODULE, | 460 | .owner = THIS_MODULE, |
461 | }, | 461 | }, |
462 | }; | 462 | }; |
463 | 463 | module_platform_driver(twl4030_kp_driver); | |
464 | static int __init twl4030_kp_init(void) | ||
465 | { | ||
466 | return platform_driver_register(&twl4030_kp_driver); | ||
467 | } | ||
468 | module_init(twl4030_kp_init); | ||
469 | |||
470 | static void __exit twl4030_kp_exit(void) | ||
471 | { | ||
472 | platform_driver_unregister(&twl4030_kp_driver); | ||
473 | } | ||
474 | module_exit(twl4030_kp_exit); | ||
475 | 464 | ||
476 | MODULE_AUTHOR("Texas Instruments"); | 465 | MODULE_AUTHOR("Texas Instruments"); |
477 | MODULE_DESCRIPTION("TWL4030 Keypad Driver"); | 466 | MODULE_DESCRIPTION("TWL4030 Keypad Driver"); |