]> Pileus Git - ~andy/linux/commitdiff
USB: ehci-q.c: remove dbg() usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 04:33:35 +0000 (21:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 04:33:35 +0000 (21:33 -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: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-q.c

index 13f4f980841af48c113de5cc70aad0b0ba61aedb..4378bf72bbac6e10c6d06caa1a8a9ce9d0c0b973 100644 (file)
@@ -943,7 +943,8 @@ qh_make (
                }
                break;
        default:
-               dbg ("bogus dev %p speed %d", urb->dev, urb->dev->speed);
+               ehci_dbg(ehci, "bogus dev %p speed %d\n", urb->dev,
+                       urb->dev->speed);
 done:
                qh_put (qh);
                return NULL;