staging: octeon-usb: octeon-hcd: eliminate printk()s
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 17 Jun 2013 23:36:20 +0000 (02:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2013 18:17:04 +0000 (11:17 -0700)
Replace one printk() with dev_dbg(), and delete the other.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/octeon-hcd.c

index fb9c082..d156b60 100644 (file)
@@ -723,7 +723,7 @@ static int octeon_usb_driver_probe(struct device *dev)
                return -1;
        }
 
-       printk("OcteonUSB: Registered HCD for port %d on irq %d\n", usb_num, irq);
+       dev_dbg(dev, "Registered HCD for port %d on irq %d\n", usb_num, irq);
 
        return 0;
 }
@@ -771,7 +771,6 @@ static int __init octeon_usb_module_init(void)
                return -ENOMEM;
 
        octeon_usb_registered = 1;
-       printk("OcteonUSB: Detected %d ports\n", num_devices);
 
        /*
         * Only cn52XX and cn56XX have DWC_OTG USB hardware and the