diff options
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/atkbd.c | 3 | ||||
-rw-r--r-- | drivers/input/keyboard/hil_kbd.c | 3 | ||||
-rw-r--r-- | drivers/input/keyboard/lkkbd.c | 3 | ||||
-rw-r--r-- | drivers/input/keyboard/newtonkbd.c | 3 | ||||
-rw-r--r-- | drivers/input/keyboard/stowaway.c | 3 | ||||
-rw-r--r-- | drivers/input/keyboard/sunkbd.c | 3 | ||||
-rw-r--r-- | drivers/input/keyboard/xtkbd.c | 3 |
7 files changed, 7 insertions, 14 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 73c6946b2d92..498e64a00e3c 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -1389,8 +1389,7 @@ static ssize_t atkbd_show_err_count(struct atkbd *atkbd, char *buf) | |||
1389 | 1389 | ||
1390 | static int __init atkbd_init(void) | 1390 | static int __init atkbd_init(void) |
1391 | { | 1391 | { |
1392 | serio_register_driver(&atkbd_drv); | 1392 | return serio_register_driver(&atkbd_drv); |
1393 | return 0; | ||
1394 | } | 1393 | } |
1395 | 1394 | ||
1396 | static void __exit atkbd_exit(void) | 1395 | static void __exit atkbd_exit(void) |
diff --git a/drivers/input/keyboard/hil_kbd.c b/drivers/input/keyboard/hil_kbd.c index e774dd31e99b..7cc9728b04df 100644 --- a/drivers/input/keyboard/hil_kbd.c +++ b/drivers/input/keyboard/hil_kbd.c | |||
@@ -381,8 +381,7 @@ struct serio_driver hil_kbd_serio_drv = { | |||
381 | 381 | ||
382 | static int __init hil_kbd_init(void) | 382 | static int __init hil_kbd_init(void) |
383 | { | 383 | { |
384 | serio_register_driver(&hil_kbd_serio_drv); | 384 | return serio_register_driver(&hil_kbd_serio_drv); |
385 | return 0; | ||
386 | } | 385 | } |
387 | 386 | ||
388 | static void __exit hil_kbd_exit(void) | 387 | static void __exit hil_kbd_exit(void) |
diff --git a/drivers/input/keyboard/lkkbd.c b/drivers/input/keyboard/lkkbd.c index 0067c1fe3d4e..1789785813ee 100644 --- a/drivers/input/keyboard/lkkbd.c +++ b/drivers/input/keyboard/lkkbd.c | |||
@@ -758,8 +758,7 @@ static struct serio_driver lkkbd_drv = { | |||
758 | static int __init | 758 | static int __init |
759 | lkkbd_init (void) | 759 | lkkbd_init (void) |
760 | { | 760 | { |
761 | serio_register_driver(&lkkbd_drv); | 761 | return serio_register_driver(&lkkbd_drv); |
762 | return 0; | ||
763 | } | 762 | } |
764 | 763 | ||
765 | static void __exit | 764 | static void __exit |
diff --git a/drivers/input/keyboard/newtonkbd.c b/drivers/input/keyboard/newtonkbd.c index 33e813948d6f..aa29b50765c9 100644 --- a/drivers/input/keyboard/newtonkbd.c +++ b/drivers/input/keyboard/newtonkbd.c | |||
@@ -169,8 +169,7 @@ static struct serio_driver nkbd_drv = { | |||
169 | 169 | ||
170 | static int __init nkbd_init(void) | 170 | static int __init nkbd_init(void) |
171 | { | 171 | { |
172 | serio_register_driver(&nkbd_drv); | 172 | return serio_register_driver(&nkbd_drv); |
173 | return 0; | ||
174 | } | 173 | } |
175 | 174 | ||
176 | static void __exit nkbd_exit(void) | 175 | static void __exit nkbd_exit(void) |
diff --git a/drivers/input/keyboard/stowaway.c b/drivers/input/keyboard/stowaway.c index e60937d17b1c..f7b5c5b81451 100644 --- a/drivers/input/keyboard/stowaway.c +++ b/drivers/input/keyboard/stowaway.c | |||
@@ -173,8 +173,7 @@ static struct serio_driver skbd_drv = { | |||
173 | 173 | ||
174 | static int __init skbd_init(void) | 174 | static int __init skbd_init(void) |
175 | { | 175 | { |
176 | serio_register_driver(&skbd_drv); | 176 | return serio_register_driver(&skbd_drv); |
177 | return 0; | ||
178 | } | 177 | } |
179 | 178 | ||
180 | static void __exit skbd_exit(void) | 179 | static void __exit skbd_exit(void) |
diff --git a/drivers/input/keyboard/sunkbd.c b/drivers/input/keyboard/sunkbd.c index d1b62f77a716..d6ab6d4b1fa8 100644 --- a/drivers/input/keyboard/sunkbd.c +++ b/drivers/input/keyboard/sunkbd.c | |||
@@ -352,8 +352,7 @@ static struct serio_driver sunkbd_drv = { | |||
352 | 352 | ||
353 | static int __init sunkbd_init(void) | 353 | static int __init sunkbd_init(void) |
354 | { | 354 | { |
355 | serio_register_driver(&sunkbd_drv); | 355 | return serio_register_driver(&sunkbd_drv); |
356 | return 0; | ||
357 | } | 356 | } |
358 | 357 | ||
359 | static void __exit sunkbd_exit(void) | 358 | static void __exit sunkbd_exit(void) |
diff --git a/drivers/input/keyboard/xtkbd.c b/drivers/input/keyboard/xtkbd.c index b53f71638583..a82093432138 100644 --- a/drivers/input/keyboard/xtkbd.c +++ b/drivers/input/keyboard/xtkbd.c | |||
@@ -174,8 +174,7 @@ static struct serio_driver xtkbd_drv = { | |||
174 | 174 | ||
175 | static int __init xtkbd_init(void) | 175 | static int __init xtkbd_init(void) |
176 | { | 176 | { |
177 | serio_register_driver(&xtkbd_drv); | 177 | return serio_register_driver(&xtkbd_drv); |
178 | return 0; | ||
179 | } | 178 | } |
180 | 179 | ||
181 | static void __exit xtkbd_exit(void) | 180 | static void __exit xtkbd_exit(void) |