diff options
Diffstat (limited to 'drivers/input/keyboard/w90p910_keypad.c')
-rw-r--r-- | drivers/input/keyboard/w90p910_keypad.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/input/keyboard/w90p910_keypad.c b/drivers/input/keyboard/w90p910_keypad.c index 318586dadacf..99bbb7e775ae 100644 --- a/drivers/input/keyboard/w90p910_keypad.c +++ b/drivers/input/keyboard/w90p910_keypad.c | |||
@@ -262,19 +262,7 @@ static struct platform_driver w90p910_keypad_driver = { | |||
262 | .owner = THIS_MODULE, | 262 | .owner = THIS_MODULE, |
263 | }, | 263 | }, |
264 | }; | 264 | }; |
265 | 265 | module_platform_driver(w90p910_keypad_driver); | |
266 | static int __init w90p910_keypad_init(void) | ||
267 | { | ||
268 | return platform_driver_register(&w90p910_keypad_driver); | ||
269 | } | ||
270 | |||
271 | static void __exit w90p910_keypad_exit(void) | ||
272 | { | ||
273 | platform_driver_unregister(&w90p910_keypad_driver); | ||
274 | } | ||
275 | |||
276 | module_init(w90p910_keypad_init); | ||
277 | module_exit(w90p910_keypad_exit); | ||
278 | 266 | ||
279 | MODULE_AUTHOR("Wan ZongShun <mcuos.com@gmail.com>"); | 267 | MODULE_AUTHOR("Wan ZongShun <mcuos.com@gmail.com>"); |
280 | MODULE_DESCRIPTION("w90p910 keypad driver"); | 268 | MODULE_DESCRIPTION("w90p910 keypad driver"); |