Skip to content

Commit

Permalink
USB: ohci-dbg.c: remove dbg() usage
Browse files Browse the repository at this point in the history
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: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed May 2, 2012
1 parent 2d0fe1b commit b8a6f71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/host/ohci-dbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ urb_print(struct urb * urb, char * str, int small, int status)
unsigned int pipe= urb->pipe;

if (!urb->dev || !urb->dev->bus) {
dbg("%s URB: no dev", str);
printk(KERN_DEBUG "%s URB: no dev\n", str);
return;
}

#ifndef OHCI_VERBOSE_DEBUG
if (status != 0)
#endif
dbg("%s %p dev=%d ep=%d%s-%s flags=%x len=%d/%d stat=%d",
printk(KERN_DEBUG "%s %p dev=%d ep=%d%s-%s flags=%x len=%d/%d stat=%d\n",
str,
urb,
usb_pipedevice (pipe),
Expand Down

0 comments on commit b8a6f71

Please sign in to comment.