From d935217df1b69c7695f442c758854c1ae17b1ae8 Mon Sep 17 00:00:00 2001 From: Aaro Koskinen Date: Tue, 18 Jun 2013 02:36:20 +0300 Subject: [PATCH] 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 --- drivers/staging/octeon-usb/octeon-hcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.34.1