From: Greg Kroah-Hartman Date: Tue, 15 May 2012 23:27:32 +0000 (-0700) Subject: USB: symbolserial.c: remove dbg() usage X-Git-Tag: v3.5-rc1~149^2~25 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=e4083ea5a78d242761507bf61f7e57c7e85b8bd3;p=~emulex%2Finfiniband.git 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 CC: Johan Hovold CC: Kuninori Morimoto CC: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/symbolserial.c b/drivers/usb/serial/symbolserial.c index f7c44054175..e53d2aac35c 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; }