USB: usblcd.c: remove dbg() usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 04:34:03 +0000 (21:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 04:34:03 +0000 (21:34 -0700)
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>
drivers/usb/misc/usblcd.c

index c4ef9a1d5efddb9b6302dd0d529a99d728d5bbbd..89927bcff974a02c076a138e025d1a7056e320a4 100644 (file)
@@ -209,8 +209,8 @@ static void lcd_write_bulk_callback(struct urb *urb)
            !(status == -ENOENT ||
              status == -ECONNRESET ||
              status == -ESHUTDOWN)) {
-               dbg("USBLCD: %s - nonzero write bulk status received: %d",
-                   __func__, status);
+               dev_dbg(&dev->interface->dev,
+                       "nonzero write bulk status received: %d\n", status);
        }
 
        /* free up our allocated buffer */