diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-01-09 02:38:23 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-01-09 02:38:23 -0500 |
commit | da733563be5a9da26fe81d9f007262d00b846e22 (patch) | |
tree | db28291df94a2043af2123911984c5c173da4e6f /drivers/input/keyboard/w90p910_keypad.c | |
parent | 6ccbcf2cb41131f8d56ef0723bf3f7c1f8486076 (diff) | |
parent | dab78d7924598ea4031663dd10db814e2e324928 (diff) |
Merge branch 'next' into for-linus
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"); |