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/tsdev.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/tsdev.c')
-rw-r--r-- | drivers/input/tsdev.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/input/tsdev.c b/drivers/input/tsdev.c index 162ee08223a9..a730c461227f 100644 --- a/drivers/input/tsdev.c +++ b/drivers/input/tsdev.c | |||
@@ -479,9 +479,7 @@ static struct input_handler tsdev_handler = { | |||
479 | 479 | ||
480 | static int __init tsdev_init(void) | 480 | static int __init tsdev_init(void) |
481 | { | 481 | { |
482 | input_register_handler(&tsdev_handler); | 482 | return input_register_handler(&tsdev_handler); |
483 | printk(KERN_INFO "ts: Compaq touchscreen protocol output\n"); | ||
484 | return 0; | ||
485 | } | 483 | } |
486 | 484 | ||
487 | static void __exit tsdev_exit(void) | 485 | static void __exit tsdev_exit(void) |