diff options
author | Alexey Klimov <klimov.linux@gmail.com> | 2009-01-01 11:04:58 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:29 -0400 |
commit | e6b148490f5e9ebb90ecb4a8de930be1b8936a16 (patch) | |
tree | b1b60102c8be93bcb150dfa22bb7ed1c73613c75 /drivers/media/video/gspca/spca505.c | |
parent | f69e9529ed96ff917096d0b7b3015c8d8ea5750d (diff) |
V4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in sd_mod_init.
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/spca505.c')
-rw-r--r-- | drivers/media/video/gspca/spca505.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/spca505.c b/drivers/media/video/gspca/spca505.c index 32ae57e5f7be..b8c855c6a4ec 100644 --- a/drivers/media/video/gspca/spca505.c +++ b/drivers/media/video/gspca/spca505.c | |||
@@ -865,7 +865,7 @@ static int __init sd_mod_init(void) | |||
865 | int ret; | 865 | int ret; |
866 | ret = usb_register(&sd_driver); | 866 | ret = usb_register(&sd_driver); |
867 | if (ret < 0) | 867 | if (ret < 0) |
868 | return -1; | 868 | return ret; |
869 | PDEBUG(D_PROBE, "registered"); | 869 | PDEBUG(D_PROBE, "registered"); |
870 | return 0; | 870 | return 0; |
871 | } | 871 | } |