diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 00:34:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 00:34:03 -0400 |
commit | d8ec7a7c1c2139ace5b8da79600bcef756e0b349 (patch) | |
tree | 1391949d6a7f8203888aae17c9a916a71d2e5eae /drivers/usb/misc/usblcd.c | |
parent | e1a344d3ded6df7c1938e7f70b9f28c15358e7ba (diff) |
USB: usblcd.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: Zack Parsons <k3bacon@gmail.com>
CC: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
CC: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/usblcd.c')
-rw-r--r-- | drivers/usb/misc/usblcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/usblcd.c b/drivers/usb/misc/usblcd.c index c4ef9a1d5efd..89927bcff974 100644 --- a/drivers/usb/misc/usblcd.c +++ b/drivers/usb/misc/usblcd.c | |||
@@ -209,8 +209,8 @@ static void lcd_write_bulk_callback(struct urb *urb) | |||
209 | !(status == -ENOENT || | 209 | !(status == -ENOENT || |
210 | status == -ECONNRESET || | 210 | status == -ECONNRESET || |
211 | status == -ESHUTDOWN)) { | 211 | status == -ESHUTDOWN)) { |
212 | dbg("USBLCD: %s - nonzero write bulk status received: %d", | 212 | dev_dbg(&dev->interface->dev, |
213 | __func__, status); | 213 | "nonzero write bulk status received: %d\n", status); |
214 | } | 214 | } |
215 | 215 | ||
216 | /* free up our allocated buffer */ | 216 | /* free up our allocated buffer */ |