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>
This commit is contained in:
Alexey Klimov 2009-01-01 13:04:58 -03:00 committed by Mauro Carvalho Chehab
parent f69e9529ed
commit e6b148490f
24 changed files with 24 additions and 24 deletions

View File

@ -1031,7 +1031,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;
}

View File

@ -930,7 +930,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;
}

View File

@ -457,7 +457,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;
}

View File

@ -376,7 +376,7 @@ static int __init mod_m5602_init(void)
int ret;
ret = usb_register(&sd_driver);
if (ret < 0)
return -1;
return ret;
PDEBUG(D_PROBE, "registered");
return 0;
}

View File

@ -423,7 +423,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;
}

View File

@ -2179,7 +2179,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;
}

View File

@ -587,7 +587,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;
}

View File

@ -567,7 +567,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;
}

View File

@ -1099,7 +1099,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;
}

View File

@ -1274,7 +1274,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;
}

View File

@ -1796,7 +1796,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;
}

View File

@ -1095,7 +1095,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;
}

View File

@ -2213,7 +2213,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;
}

View File

@ -865,7 +865,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;
}

View File

@ -774,7 +774,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;
}

View File

@ -1668,7 +1668,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;
}

View File

@ -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;
}

View File

@ -563,7 +563,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;
}

View File

@ -503,7 +503,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;
}

View File

@ -1467,7 +1467,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;
}

View File

@ -1174,7 +1174,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;
}

View File

@ -572,7 +572,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;
}

View File

@ -2462,7 +2462,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;
}

View File

@ -7602,7 +7602,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;
}