diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-01-01 17:04:58 +0100 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2009-01-01 17:04:58 +0100 |
commit | 8295b6940120a069aa0078103ba943997fad6fd1 (patch) | |
tree | 2bd5366cbe3a09881dcf7f5e78668e210887f151 /linux/drivers/media/video/gspca/sonixj.c | |
parent | 9afdb51d6cd6f5d7d5ad2841fbd24db72f8e0a41 (diff) | |
download | mediapointer-dvb-s2-8295b6940120a069aa0078103ba943997fad6fd1.tar.gz mediapointer-dvb-s2-8295b6940120a069aa0078103ba943997fad6fd1.tar.bz2 |
gspca - all subdrivers: Return ret instead of -1 in sd_mod_init.
From: Alexey Klimov <klimov.linux@gmail.com>
Priority: normal
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/sonixj.c')
-rw-r--r-- | linux/drivers/media/video/gspca/sonixj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/sonixj.c b/linux/drivers/media/video/gspca/sonixj.c index b4a410c35..f977dd22e 100644 --- a/linux/drivers/media/video/gspca/sonixj.c +++ b/linux/drivers/media/video/gspca/sonixj.c @@ -1812,7 +1812,7 @@ static int __init sd_mod_init(void) int ret; ret = usb_register(&sd_driver); if (ret < 0) - return -1; + return ret; info("registered"); return 0; } |