aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/oxu210hp-hcd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 00:33:43 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 00:33:43 -0400
commitb5f5bfe05625ab4ebc27616cdf06d81623a37617 (patch)
tree2755ed35824b6d975be146ad2974fb859964a9e9 /drivers/usb/host/oxu210hp-hcd.c
parent3879e3049fd0f4e6de823ea531ecaf268ad607c7 (diff)
USB: oxu210hp-hcd.c: remove dbg() usage
dbg() was a very old USB-specific macro that should no longer be used. This patch removes it from being used in the driver and uses dev_dbg() instead. CC: Rusty Russell <rusty@rustcorp.com.au> CC: David Howells <dhowells@redhat.com> CC: Alan Stern <stern@rowland.harvard.edu> CC: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/oxu210hp-hcd.c')
-rw-r--r--drivers/usb/host/oxu210hp-hcd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c
index 77a52256eb34..4f0f0339532f 100644
--- a/drivers/usb/host/oxu210hp-hcd.c
+++ b/drivers/usb/host/oxu210hp-hcd.c
@@ -1399,8 +1399,8 @@ static struct ehci_qh *qh_make(struct oxu_hcd *oxu,
1399 * But interval 1 scheduling is simpler, and 1399 * But interval 1 scheduling is simpler, and
1400 * includes high bandwidth. 1400 * includes high bandwidth.
1401 */ 1401 */
1402 dbg("intr period %d uframes, NYET!", 1402 oxu_dbg(oxu, "intr period %d uframes, NYET!\n",
1403 urb->interval); 1403 urb->interval);
1404 goto done; 1404 goto done;
1405 } 1405 }
1406 } else { 1406 } else {
@@ -1471,7 +1471,7 @@ static struct ehci_qh *qh_make(struct oxu_hcd *oxu,
1471 } 1471 }
1472 break; 1472 break;
1473 default: 1473 default:
1474 dbg("bogus dev %p speed %d", urb->dev, urb->dev->speed); 1474 oxu_dbg(oxu, "bogus dev %p speed %d\n", urb->dev, urb->dev->speed);
1475done: 1475done:
1476 qh_put(qh); 1476 qh_put(qh);
1477 return NULL; 1477 return NULL;
@@ -2307,7 +2307,7 @@ restart:
2307 qh_put(temp.qh); 2307 qh_put(temp.qh);
2308 break; 2308 break;
2309 default: 2309 default:
2310 dbg("corrupt type %d frame %d shadow %p", 2310 oxu_dbg(oxu, "corrupt type %d frame %d shadow %p\n",
2311 type, frame, q.ptr); 2311 type, frame, q.ptr);
2312 q.ptr = NULL; 2312 q.ptr = NULL;
2313 } 2313 }