mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 09:41:44 +00:00
USB: ohci-dbg.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: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2d0fe1bbab
commit
b8a6f71d7e
@ -29,14 +29,14 @@ urb_print(struct urb * urb, char * str, int small, int status)
|
|||||||
unsigned int pipe= urb->pipe;
|
unsigned int pipe= urb->pipe;
|
||||||
|
|
||||||
if (!urb->dev || !urb->dev->bus) {
|
if (!urb->dev || !urb->dev->bus) {
|
||||||
dbg("%s URB: no dev", str);
|
printk(KERN_DEBUG "%s URB: no dev\n", str);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef OHCI_VERBOSE_DEBUG
|
#ifndef OHCI_VERBOSE_DEBUG
|
||||||
if (status != 0)
|
if (status != 0)
|
||||||
#endif
|
#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,
|
str,
|
||||||
urb,
|
urb,
|
||||||
usb_pipedevice (pipe),
|
usb_pipedevice (pipe),
|
||||||
|
Loading…
Reference in New Issue
Block a user