aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/joystick/spaceorb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/joystick/spaceorb.c')
-rw-r--r--drivers/input/joystick/spaceorb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/joystick/spaceorb.c b/drivers/input/joystick/spaceorb.c
index ea9d51e70a1..c9c79211af7 100644
--- a/drivers/input/joystick/spaceorb.c
+++ b/drivers/input/joystick/spaceorb.c
@@ -246,8 +246,7 @@ static struct serio_driver spaceorb_drv = {
static int __init spaceorb_init(void)
{
- serio_register_driver(&spaceorb_drv);
- return 0;
+ return serio_register_driver(&spaceorb_drv);
}
static void __exit spaceorb_exit(void)