projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: handle serio_register_driver() errors
[powerpc.git]
/
drivers
/
input
/
joystick
/
warrior.c
diff --git
a/drivers/input/joystick/warrior.c
b/drivers/input/joystick/warrior.c
index
1e4828b
..
29d339a
100644
(file)
--- a/
drivers/input/joystick/warrior.c
+++ b/
drivers/input/joystick/warrior.c
@@
-224,8
+224,7
@@
static struct serio_driver warrior_drv = {
static int __init warrior_init(void)
{
- serio_register_driver(&warrior_drv);
- return 0;
+ return serio_register_driver(&warrior_drv);
}
static void __exit warrior_exit(void)