Skip to content

Commit

Permalink
USB: sa1111: get rid of nasty printk(KERN_DEBUG "%s: ...", __FILE__)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Mar 24, 2012
1 parent 9cb0f81 commit 3f878db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/usb/host/ohci-sa1111.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ static int sa1111_start_hc(struct sa1111_dev *dev)
unsigned int usb_rst = 0;
int ret;

printk(KERN_DEBUG "%s: starting SA-1111 OHCI USB Controller\n",
__FILE__);
dev_dbg(&dev->dev, "starting SA-1111 OHCI USB Controller\n");

if (machine_is_xp860() ||
machine_has_neponset() ||
Expand Down Expand Up @@ -81,8 +80,7 @@ static void sa1111_stop_hc(struct sa1111_dev *dev)
{
unsigned int usb_rst;

printk(KERN_DEBUG "%s: stopping SA-1111 OHCI USB Controller\n",
__FILE__);
dev_dbg(&dev->dev, "stopping SA-1111 OHCI USB Controller\n");

/*
* Put the USB host controller into reset.
Expand Down

0 comments on commit 3f878db

Please sign in to comment.