Commit 3f878dbc authored by Russell King's avatar Russell King

USB: sa1111: get rid of nasty printk(KERN_DEBUG "%s: ...", __FILE__)

Use dev_dbg() instead, it's more friendly.
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 9cb0f819
...@@ -48,8 +48,7 @@ static int sa1111_start_hc(struct sa1111_dev *dev) ...@@ -48,8 +48,7 @@ static int sa1111_start_hc(struct sa1111_dev *dev)
unsigned int usb_rst = 0; unsigned int usb_rst = 0;
int ret; int ret;
printk(KERN_DEBUG "%s: starting SA-1111 OHCI USB Controller\n", dev_dbg(&dev->dev, "starting SA-1111 OHCI USB Controller\n");
__FILE__);
if (machine_is_xp860() || if (machine_is_xp860() ||
machine_has_neponset() || machine_has_neponset() ||
...@@ -81,8 +80,7 @@ static void sa1111_stop_hc(struct sa1111_dev *dev) ...@@ -81,8 +80,7 @@ static void sa1111_stop_hc(struct sa1111_dev *dev)
{ {
unsigned int usb_rst; unsigned int usb_rst;
printk(KERN_DEBUG "%s: stopping SA-1111 OHCI USB Controller\n", dev_dbg(&dev->dev, "stopping SA-1111 OHCI USB Controller\n");
__FILE__);
/* /*
* Put the USB host controller into reset. * Put the USB host controller into reset.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment