aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sq930x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/sq930x.c')
-rw-r--r--drivers/media/video/gspca/sq930x.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/media/video/gspca/sq930x.c b/drivers/media/video/gspca/sq930x.c
index 7ae6522d4edf..8edffed24a0d 100644
--- a/drivers/media/video/gspca/sq930x.c
+++ b/drivers/media/video/gspca/sq930x.c
@@ -1185,18 +1185,11 @@ static struct usb_driver sd_driver = {
1185/* -- module insert / remove -- */ 1185/* -- module insert / remove -- */
1186static int __init sd_mod_init(void) 1186static int __init sd_mod_init(void)
1187{ 1187{
1188 int ret; 1188 return usb_register(&sd_driver);
1189
1190 ret = usb_register(&sd_driver);
1191 if (ret < 0)
1192 return ret;
1193 info("registered");
1194 return 0;
1195} 1189}
1196static void __exit sd_mod_exit(void) 1190static void __exit sd_mod_exit(void)
1197{ 1191{
1198 usb_deregister(&sd_driver); 1192 usb_deregister(&sd_driver);
1199 info("deregistered");
1200} 1193}
1201 1194
1202module_init(sd_mod_init); 1195module_init(sd_mod_init);