commit | 2547203d583cc267b98f518d5d93e3a0469d8f62 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Jun 06 01:33:37 2008 -0400 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Jul 30 00:41:36 2008 -0400 |
tree | d4758d81eb78c25fff6abf0ff3660dd8dbc7a3a1 | |
parent | 6902c0bead4ce266226fc0c5b3828b850bdc884a [diff] [blame] |
Input: gameport - check return value of gameport_register_driver() Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
diff --git a/drivers/input/joystick/tmdc.c b/drivers/input/joystick/tmdc.c index 60c37bc..d6c6098 100644 --- a/drivers/input/joystick/tmdc.c +++ b/drivers/input/joystick/tmdc.c
@@ -438,8 +438,7 @@ static int __init tmdc_init(void) { - gameport_register_driver(&tmdc_drv); - return 0; + return gameport_register_driver(&tmdc_drv); } static void __exit tmdc_exit(void)