From: Aaro Koskinen Date: Mon, 17 Jun 2013 23:36:20 +0000 (+0300) Subject: staging: octeon-usb: octeon-hcd: eliminate printk()s X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d935217df1b69c7695f442c758854c1ae17b1ae8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: octeon-usb: octeon-hcd: eliminate printk()s Replace one printk() with dev_dbg(), and delete the other. Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index fb9c082f39e7..d156b603ae65 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c +++ b/drivers/staging/octeon-usb/octeon-hcd.c @@ -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