aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/ov519.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/ov519.c')
-rw-r--r--drivers/media/video/gspca/ov519.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c
index 2b2cbdbf03fe..a8ac24a7af8e 100644
--- a/drivers/media/video/gspca/ov519.c
+++ b/drivers/media/video/gspca/ov519.c
@@ -4663,17 +4663,11 @@ static struct usb_driver sd_driver = {
4663/* -- module insert / remove -- */ 4663/* -- module insert / remove -- */
4664static int __init sd_mod_init(void) 4664static int __init sd_mod_init(void)
4665{ 4665{
4666 int ret; 4666 return usb_register(&sd_driver);
4667 ret = usb_register(&sd_driver);
4668 if (ret < 0)
4669 return ret;
4670 PDEBUG(D_PROBE, "registered");
4671 return 0;
4672} 4667}
4673static void __exit sd_mod_exit(void) 4668static void __exit sd_mod_exit(void)
4674{ 4669{
4675 usb_deregister(&sd_driver); 4670 usb_deregister(&sd_driver);
4676 PDEBUG(D_PROBE, "deregistered");
4677} 4671}
4678 4672
4679module_init(sd_mod_init); 4673module_init(sd_mod_init);