diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-26 05:39:57 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-24 07:30:13 -0400 |
commit | 3f878dbcd6ca4bbdbac0a1380d25161a7ba610ab (patch) | |
tree | 775fc9d8e85e883ad7b4fd2bd42eab0c1a8fc50b /drivers/usb/host/ohci-sa1111.c | |
parent | 9cb0f819eb88f573703e9a73d9883febcfcfa1c3 (diff) |
USB: sa1111: get rid of nasty printk(KERN_DEBUG "%s: ...", __FILE__)
Use dev_dbg() instead, it's more friendly.
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/usb/host/ohci-sa1111.c')
-rw-r--r-- | drivers/usb/host/ohci-sa1111.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/host/ohci-sa1111.c b/drivers/usb/host/ohci-sa1111.c index 50ebeb310fda..e797f18acb33 100644 --- a/drivers/usb/host/ohci-sa1111.c +++ b/drivers/usb/host/ohci-sa1111.c | |||
@@ -48,8 +48,7 @@ static int sa1111_start_hc(struct sa1111_dev *dev) | |||
48 | unsigned int usb_rst = 0; | 48 | unsigned int usb_rst = 0; |
49 | int ret; | 49 | int ret; |
50 | 50 | ||
51 | printk(KERN_DEBUG "%s: starting SA-1111 OHCI USB Controller\n", | 51 | dev_dbg(&dev->dev, "starting SA-1111 OHCI USB Controller\n"); |
52 | __FILE__); | ||
53 | 52 | ||
54 | if (machine_is_xp860() || | 53 | if (machine_is_xp860() || |
55 | machine_has_neponset() || | 54 | machine_has_neponset() || |
@@ -81,8 +80,7 @@ static void sa1111_stop_hc(struct sa1111_dev *dev) | |||
81 | { | 80 | { |
82 | unsigned int usb_rst; | 81 | unsigned int usb_rst; |
83 | 82 | ||
84 | printk(KERN_DEBUG "%s: stopping SA-1111 OHCI USB Controller\n", | 83 | dev_dbg(&dev->dev, "stopping SA-1111 OHCI USB Controller\n"); |
85 | __FILE__); | ||
86 | 84 | ||
87 | /* | 85 | /* |
88 | * Put the USB host controller into reset. | 86 | * Put the USB host controller into reset. |