aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gl860/gl860.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/gl860/gl860.c')
-rw-r--r--drivers/media/video/gspca/gl860/gl860.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/video/gspca/gl860/gl860.c b/drivers/media/video/gspca/gl860/gl860.c
index e86eb8b4aedc..b05bec7321b5 100644
--- a/drivers/media/video/gspca/gl860/gl860.c
+++ b/drivers/media/video/gspca/gl860/gl860.c
@@ -540,15 +540,12 @@ static int __init sd_mod_init(void)
540 540
541 if (usb_register(&sd_driver) < 0) 541 if (usb_register(&sd_driver) < 0)
542 return -1; 542 return -1;
543 PDEBUG(D_PROBE, "driver registered");
544
545 return 0; 543 return 0;
546} 544}
547 545
548static void __exit sd_mod_exit(void) 546static void __exit sd_mod_exit(void)
549{ 547{
550 usb_deregister(&sd_driver); 548 usb_deregister(&sd_driver);
551 PDEBUG(D_PROBE, "driver deregistered");
552} 549}
553 550
554module_init(sd_mod_init); 551module_init(sd_mod_init);
@@ -588,8 +585,7 @@ int gl860_RTx(struct gspca_dev *gspca_dev,
588 } 585 }
589 586
590 if (r < 0) 587 if (r < 0)
591 PDEBUG(D_ERR, 588 err("ctrl transfer failed %4d "
592 "ctrl transfer failed %4d "
593 "[p%02x r%d v%04x i%04x len%d]", 589 "[p%02x r%d v%04x i%04x len%d]",
594 r, pref, req, val, index, len); 590 r, pref, req, val, index, len);
595 else if (len > 1 && r < len) 591 else if (len > 1 && r < len)