summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/spca561.c
diff options
context:
space:
mode:
authorAlexey Klimov <klimov.linux@gmail.com>2009-01-01 17:04:58 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:42:29 +0200
commite6b148490f5e9ebb90ecb4a8de930be1b8936a16 (patch)
treeb1b60102c8be93bcb150dfa22bb7ed1c73613c75 /drivers/media/video/gspca/spca561.c
parentV4L/DVB (10335): gspca - all subdrivers: Fix CodingStyle in sd_mod_init funct... (diff)
downloadlinux-e6b148490f5e9ebb90ecb4a8de930be1b8936a16.tar.xz
linux-e6b148490f5e9ebb90ecb4a8de930be1b8936a16.zip
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/spca561.c')
-rw-r--r--drivers/media/video/gspca/spca561.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/spca561.c b/drivers/media/video/gspca/spca561.c
index 1538350849f9..173c0c43fd1f 100644
--- a/drivers/media/video/gspca/spca561.c
+++ b/drivers/media/video/gspca/spca561.c
@@ -1199,7 +1199,7 @@ static int __init sd_mod_init(void)
int ret;
ret = usb_register(&sd_driver);
if (ret < 0)
- return -1;
+ return ret;
PDEBUG(D_PROBE, "registered");
return 0;
}