diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-15 16:27:32 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-15 16:27:32 -0700 |
commit | e4083ea5a78d242761507bf61f7e57c7e85b8bd3 (patch) | |
tree | 06fc7af3926ceb640a46783501836103dde6b6cd /drivers/usb/serial/symbolserial.c | |
parent | fe2baf87a82dd44f74cfc6e24adc8b8bdfb37bb6 (diff) | |
download | blackbird-obmc-linux-e4083ea5a78d242761507bf61f7e57c7e85b8bd3.tar.gz blackbird-obmc-linux-e4083ea5a78d242761507bf61f7e57c7e85b8bd3.zip |
USB: symbolserial.c: remove dbg() usage
dbg() is a usb-serial specific macro. This patch converts
the symbolserial.c driver to use dev_dbg() instead to tie into the
dynamic debug infrastructure.
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Johan Hovold <jhovold@gmail.com>
CC: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
CC: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/symbolserial.c')
-rw-r--r-- | drivers/usb/serial/symbolserial.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/symbolserial.c b/drivers/usb/serial/symbolserial.c index f7c440541754..e53d2aac35c5 100644 --- a/drivers/usb/serial/symbolserial.c +++ b/drivers/usb/serial/symbolserial.c @@ -62,12 +62,12 @@ static void symbol_int_callback(struct urb *urb) case -ENOENT: case -ESHUTDOWN: /* this urb is terminated, clean up */ - dbg("%s - urb shutting down with status: %d", - __func__, status); + dev_dbg(&port->dev, "%s - urb shutting down with status: %d\n", + __func__, status); return; default: - dbg("%s - nonzero urb status received: %d", - __func__, status); + dev_dbg(&port->dev, "%s - nonzero urb status received: %d\n", + __func__, status); goto exit; } |