aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/w90p910_keypad.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/w90p910_keypad.c')
-rw-r--r--drivers/input/keyboard/w90p910_keypad.c14
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 265module_platform_driver(w90p910_keypad_driver);
266static int __init w90p910_keypad_init(void)
267{
268 return platform_driver_register(&w90p910_keypad_driver);
269}
270
271static void __exit w90p910_keypad_exit(void)
272{
273 platform_driver_unregister(&w90p910_keypad_driver);
274}
275
276module_init(w90p910_keypad_init);
277module_exit(w90p910_keypad_exit);
278 266
279MODULE_AUTHOR("Wan ZongShun <mcuos.com@gmail.com>"); 267MODULE_AUTHOR("Wan ZongShun <mcuos.com@gmail.com>");
280MODULE_DESCRIPTION("w90p910 keypad driver"); 268MODULE_DESCRIPTION("w90p910 keypad driver");