Skip to content

Commit

Permalink
staging: octeon-usb: octeon-hcd: eliminate printk()s
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Jun 18, 2013
1 parent 334715f commit d935217
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/octeon-usb/octeon-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d935217

Please sign in to comment.