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/power.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/power.c')
-rw-r--r-- | drivers/input/power.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/power.c b/drivers/input/power.c index 75d018759cd5..ee82464a2fa7 100644 --- a/drivers/input/power.c +++ b/drivers/input/power.c | |||
@@ -150,8 +150,7 @@ static struct input_handler power_handler = { | |||
150 | 150 | ||
151 | static int __init power_init(void) | 151 | static int __init power_init(void) |
152 | { | 152 | { |
153 | input_register_handler(&power_handler); | 153 | return input_register_handler(&power_handler); |
154 | return 0; | ||
155 | } | 154 | } |
156 | 155 | ||
157 | static void __exit power_exit(void) | 156 | static void __exit power_exit(void) |