diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 00:33:37 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 00:33:37 -0400 |
| commit | b8a6f71d7e3391d435535990cf5b5a86662115ef (patch) | |
| tree | 2c23c046eeae50ef76050d74a20d3c8f33dfe8dd /drivers/usb/host | |
| parent | 2d0fe1bbabbab34ef655bce21cb14814eda5916a (diff) | |
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>
Diffstat (limited to 'drivers/usb/host')
| -rw-r--r-- | drivers/usb/host/ohci-dbg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-dbg.c b/drivers/usb/host/ohci-dbg.c index e4bcb62b930a..31b81f9eacdc 100644 --- a/drivers/usb/host/ohci-dbg.c +++ b/drivers/usb/host/ohci-dbg.c | |||
| @@ -29,14 +29,14 @@ urb_print(struct urb * urb, char * str, int small, int status) | |||
| 29 | unsigned int pipe= urb->pipe; | 29 | unsigned int pipe= urb->pipe; |
| 30 | 30 | ||
| 31 | if (!urb->dev || !urb->dev->bus) { | 31 | if (!urb->dev || !urb->dev->bus) { |
| 32 | dbg("%s URB: no dev", str); | 32 | printk(KERN_DEBUG "%s URB: no dev\n", str); |
| 33 | return; | 33 | return; |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | #ifndef OHCI_VERBOSE_DEBUG | 36 | #ifndef OHCI_VERBOSE_DEBUG |
| 37 | if (status != 0) | 37 | if (status != 0) |
| 38 | #endif | 38 | #endif |
| 39 | dbg("%s %p dev=%d ep=%d%s-%s flags=%x len=%d/%d stat=%d", | 39 | printk(KERN_DEBUG "%s %p dev=%d ep=%d%s-%s flags=%x len=%d/%d stat=%d\n", |
| 40 | str, | 40 | str, |
| 41 | urb, | 41 | urb, |
| 42 | usb_pipedevice (pipe), | 42 | usb_pipedevice (pipe), |
