diff options
Diffstat (limited to 'drivers/input/keyboard/sh_keysc.c')
| -rw-r--r-- | drivers/input/keyboard/sh_keysc.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/input/keyboard/sh_keysc.c b/drivers/input/keyboard/sh_keysc.c index 934aeb583b30..da54ad5db154 100644 --- a/drivers/input/keyboard/sh_keysc.c +++ b/drivers/input/keyboard/sh_keysc.c | |||
| @@ -337,19 +337,7 @@ static struct platform_driver sh_keysc_device_driver = { | |||
| 337 | .pm = &sh_keysc_dev_pm_ops, | 337 | .pm = &sh_keysc_dev_pm_ops, |
| 338 | } | 338 | } |
| 339 | }; | 339 | }; |
| 340 | 340 | module_platform_driver(sh_keysc_device_driver); | |
| 341 | static int __init sh_keysc_init(void) | ||
| 342 | { | ||
| 343 | return platform_driver_register(&sh_keysc_device_driver); | ||
| 344 | } | ||
| 345 | |||
| 346 | static void __exit sh_keysc_exit(void) | ||
| 347 | { | ||
| 348 | platform_driver_unregister(&sh_keysc_device_driver); | ||
| 349 | } | ||
| 350 | |||
| 351 | module_init(sh_keysc_init); | ||
| 352 | module_exit(sh_keysc_exit); | ||
| 353 | 341 | ||
| 354 | MODULE_AUTHOR("Magnus Damm"); | 342 | MODULE_AUTHOR("Magnus Damm"); |
| 355 | MODULE_DESCRIPTION("SuperH KEYSC Keypad Driver"); | 343 | MODULE_DESCRIPTION("SuperH KEYSC Keypad Driver"); |
