diff options
-rw-r--r-- | drivers/input/joystick/a3d.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/adi.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/analog.c | 4 | ||||
-rw-r--r-- | drivers/input/joystick/cobra.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/gf2k.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/grip.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/grip_mp.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/guillemot.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/interact.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/joydump.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/sidewinder.c | 3 | ||||
-rw-r--r-- | drivers/input/joystick/tmdc.c | 3 |
12 files changed, 12 insertions, 25 deletions
diff --git a/drivers/input/joystick/a3d.c b/drivers/input/joystick/a3d.c index 92498d470b1f..6489f4010c4f 100644 --- a/drivers/input/joystick/a3d.c +++ b/drivers/input/joystick/a3d.c | |||
@@ -414,8 +414,7 @@ static struct gameport_driver a3d_drv = { | |||
414 | 414 | ||
415 | static int __init a3d_init(void) | 415 | static int __init a3d_init(void) |
416 | { | 416 | { |
417 | gameport_register_driver(&a3d_drv); | 417 | return gameport_register_driver(&a3d_drv); |
418 | return 0; | ||
419 | } | 418 | } |
420 | 419 | ||
421 | static void __exit a3d_exit(void) | 420 | static void __exit a3d_exit(void) |
diff --git a/drivers/input/joystick/adi.c b/drivers/input/joystick/adi.c index d1ca8a14950f..89c4c084d4ad 100644 --- a/drivers/input/joystick/adi.c +++ b/drivers/input/joystick/adi.c | |||
@@ -572,8 +572,7 @@ static struct gameport_driver adi_drv = { | |||
572 | 572 | ||
573 | static int __init adi_init(void) | 573 | static int __init adi_init(void) |
574 | { | 574 | { |
575 | gameport_register_driver(&adi_drv); | 575 | return gameport_register_driver(&adi_drv); |
576 | return 0; | ||
577 | } | 576 | } |
578 | 577 | ||
579 | static void __exit adi_exit(void) | 578 | static void __exit adi_exit(void) |
diff --git a/drivers/input/joystick/analog.c b/drivers/input/joystick/analog.c index 708c5ae13b24..356b3a25efa2 100644 --- a/drivers/input/joystick/analog.c +++ b/drivers/input/joystick/analog.c | |||
@@ -761,9 +761,7 @@ static struct gameport_driver analog_drv = { | |||
761 | static int __init analog_init(void) | 761 | static int __init analog_init(void) |
762 | { | 762 | { |
763 | analog_parse_options(); | 763 | analog_parse_options(); |
764 | gameport_register_driver(&analog_drv); | 764 | return gameport_register_driver(&analog_drv); |
765 | |||
766 | return 0; | ||
767 | } | 765 | } |
768 | 766 | ||
769 | static void __exit analog_exit(void) | 767 | static void __exit analog_exit(void) |
diff --git a/drivers/input/joystick/cobra.c b/drivers/input/joystick/cobra.c index 639b975a8ed7..3497b87c3d05 100644 --- a/drivers/input/joystick/cobra.c +++ b/drivers/input/joystick/cobra.c | |||
@@ -263,8 +263,7 @@ static struct gameport_driver cobra_drv = { | |||
263 | 263 | ||
264 | static int __init cobra_init(void) | 264 | static int __init cobra_init(void) |
265 | { | 265 | { |
266 | gameport_register_driver(&cobra_drv); | 266 | return gameport_register_driver(&cobra_drv); |
267 | return 0; | ||
268 | } | 267 | } |
269 | 268 | ||
270 | static void __exit cobra_exit(void) | 269 | static void __exit cobra_exit(void) |
diff --git a/drivers/input/joystick/gf2k.c b/drivers/input/joystick/gf2k.c index cb6eef1f2d99..67c207f5b1a1 100644 --- a/drivers/input/joystick/gf2k.c +++ b/drivers/input/joystick/gf2k.c | |||
@@ -375,8 +375,7 @@ static struct gameport_driver gf2k_drv = { | |||
375 | 375 | ||
376 | static int __init gf2k_init(void) | 376 | static int __init gf2k_init(void) |
377 | { | 377 | { |
378 | gameport_register_driver(&gf2k_drv); | 378 | return gameport_register_driver(&gf2k_drv); |
379 | return 0; | ||
380 | } | 379 | } |
381 | 380 | ||
382 | static void __exit gf2k_exit(void) | 381 | static void __exit gf2k_exit(void) |
diff --git a/drivers/input/joystick/grip.c b/drivers/input/joystick/grip.c index 684e07cfccc8..fc55899ba6c5 100644 --- a/drivers/input/joystick/grip.c +++ b/drivers/input/joystick/grip.c | |||
@@ -426,8 +426,7 @@ static struct gameport_driver grip_drv = { | |||
426 | 426 | ||
427 | static int __init grip_init(void) | 427 | static int __init grip_init(void) |
428 | { | 428 | { |
429 | gameport_register_driver(&grip_drv); | 429 | return gameport_register_driver(&grip_drv); |
430 | return 0; | ||
431 | } | 430 | } |
432 | 431 | ||
433 | static void __exit grip_exit(void) | 432 | static void __exit grip_exit(void) |
diff --git a/drivers/input/joystick/grip_mp.c b/drivers/input/joystick/grip_mp.c index 8279481b16e7..2d47baf47769 100644 --- a/drivers/input/joystick/grip_mp.c +++ b/drivers/input/joystick/grip_mp.c | |||
@@ -689,8 +689,7 @@ static struct gameport_driver grip_drv = { | |||
689 | 689 | ||
690 | static int __init grip_init(void) | 690 | static int __init grip_init(void) |
691 | { | 691 | { |
692 | gameport_register_driver(&grip_drv); | 692 | return gameport_register_driver(&grip_drv); |
693 | return 0; | ||
694 | } | 693 | } |
695 | 694 | ||
696 | static void __exit grip_exit(void) | 695 | static void __exit grip_exit(void) |
diff --git a/drivers/input/joystick/guillemot.c b/drivers/input/joystick/guillemot.c index 25ec3fad9f27..4058d4b272fe 100644 --- a/drivers/input/joystick/guillemot.c +++ b/drivers/input/joystick/guillemot.c | |||
@@ -283,8 +283,7 @@ static struct gameport_driver guillemot_drv = { | |||
283 | 283 | ||
284 | static int __init guillemot_init(void) | 284 | static int __init guillemot_init(void) |
285 | { | 285 | { |
286 | gameport_register_driver(&guillemot_drv); | 286 | return gameport_register_driver(&guillemot_drv); |
287 | return 0; | ||
288 | } | 287 | } |
289 | 288 | ||
290 | static void __exit guillemot_exit(void) | 289 | static void __exit guillemot_exit(void) |
diff --git a/drivers/input/joystick/interact.c b/drivers/input/joystick/interact.c index 8c3290b68205..2478289aeeea 100644 --- a/drivers/input/joystick/interact.c +++ b/drivers/input/joystick/interact.c | |||
@@ -317,8 +317,7 @@ static struct gameport_driver interact_drv = { | |||
317 | 317 | ||
318 | static int __init interact_init(void) | 318 | static int __init interact_init(void) |
319 | { | 319 | { |
320 | gameport_register_driver(&interact_drv); | 320 | return gameport_register_driver(&interact_drv); |
321 | return 0; | ||
322 | } | 321 | } |
323 | 322 | ||
324 | static void __exit interact_exit(void) | 323 | static void __exit interact_exit(void) |
diff --git a/drivers/input/joystick/joydump.c b/drivers/input/joystick/joydump.c index 2a1b82c8b31c..cd894a0564a2 100644 --- a/drivers/input/joystick/joydump.c +++ b/drivers/input/joystick/joydump.c | |||
@@ -161,8 +161,7 @@ static struct gameport_driver joydump_drv = { | |||
161 | 161 | ||
162 | static int __init joydump_init(void) | 162 | static int __init joydump_init(void) |
163 | { | 163 | { |
164 | gameport_register_driver(&joydump_drv); | 164 | return gameport_register_driver(&joydump_drv); |
165 | return 0; | ||
166 | } | 165 | } |
167 | 166 | ||
168 | static void __exit joydump_exit(void) | 167 | static void __exit joydump_exit(void) |
diff --git a/drivers/input/joystick/sidewinder.c b/drivers/input/joystick/sidewinder.c index 7b4865fdee54..ca13a6bec33e 100644 --- a/drivers/input/joystick/sidewinder.c +++ b/drivers/input/joystick/sidewinder.c | |||
@@ -818,8 +818,7 @@ static struct gameport_driver sw_drv = { | |||
818 | 818 | ||
819 | static int __init sw_init(void) | 819 | static int __init sw_init(void) |
820 | { | 820 | { |
821 | gameport_register_driver(&sw_drv); | 821 | return gameport_register_driver(&sw_drv); |
822 | return 0; | ||
823 | } | 822 | } |
824 | 823 | ||
825 | static void __exit sw_exit(void) | 824 | static void __exit sw_exit(void) |
diff --git a/drivers/input/joystick/tmdc.c b/drivers/input/joystick/tmdc.c index 60c37bcb938d..d6c609807115 100644 --- a/drivers/input/joystick/tmdc.c +++ b/drivers/input/joystick/tmdc.c | |||
@@ -438,8 +438,7 @@ static struct gameport_driver tmdc_drv = { | |||
438 | 438 | ||
439 | static int __init tmdc_init(void) | 439 | static int __init tmdc_init(void) |
440 | { | 440 | { |
441 | gameport_register_driver(&tmdc_drv); | 441 | return gameport_register_driver(&tmdc_drv); |
442 | return 0; | ||
443 | } | 442 | } |
444 | 443 | ||
445 | static void __exit tmdc_exit(void) | 444 | static void __exit tmdc_exit(void) |