diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2006-09-14 01:32:39 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2006-09-14 01:32:39 -0400 |
commit | 4263cf0fac28122c8381b6f4f9441a43cd93c81f (patch) | |
tree | 2abdac5c34cf584854677b33e5dcd0e343ee1611 /drivers/input/joydev.c | |
parent | 68c2a1607cd6dd12427c9566b39756e92708713c (diff) |
Input: make input_register_handler() return error codes
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/joydev.c')
-rw-r--r-- | drivers/input/joydev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c index 033e3aac92a3..9f3529ad3fda 100644 --- a/drivers/input/joydev.c +++ b/drivers/input/joydev.c | |||
@@ -606,8 +606,7 @@ static struct input_handler joydev_handler = { | |||
606 | 606 | ||
607 | static int __init joydev_init(void) | 607 | static int __init joydev_init(void) |
608 | { | 608 | { |
609 | input_register_handler(&joydev_handler); | 609 | return input_register_handler(&joydev_handler); |
610 | return 0; | ||
611 | } | 610 | } |
612 | 611 | ||
613 | static void __exit joydev_exit(void) | 612 | static void __exit joydev_exit(void) |