diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-15 19:27:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-15 19:27:11 -0400 |
commit | c89aa63898f2238cd3c6537963a82b05146b9338 (patch) | |
tree | 68961eef0d6763cdc03149d9ab6f41d2a1ecb044 /drivers/usb/serial/belkin_sa.c | |
parent | d2f20e12e93820b0ad891e101987e669179e0978 (diff) |
USB: belkin_sa.c: remove dbg() usage
dbg() is a usb-serial specific macro. This patch converts
the belkin_sa.c driver to use dev_dbg() instead to tie into the
dynamic debug infrastructure.
CC: William Greathouse <wgreathouse@smva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/belkin_sa.c')
-rw-r--r-- | drivers/usb/serial/belkin_sa.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/usb/serial/belkin_sa.c b/drivers/usb/serial/belkin_sa.c index 5965df72cd07..6b7365632951 100644 --- a/drivers/usb/serial/belkin_sa.c +++ b/drivers/usb/serial/belkin_sa.c | |||
@@ -197,12 +197,12 @@ static void belkin_sa_read_int_callback(struct urb *urb) | |||
197 | case -ENOENT: | 197 | case -ENOENT: |
198 | case -ESHUTDOWN: | 198 | case -ESHUTDOWN: |
199 | /* this urb is terminated, clean up */ | 199 | /* this urb is terminated, clean up */ |
200 | dbg("%s - urb shutting down with status: %d", | 200 | dev_dbg(&port->dev, "%s - urb shutting down with status: %d\n", |
201 | __func__, status); | 201 | __func__, status); |
202 | return; | 202 | return; |
203 | default: | 203 | default: |
204 | dbg("%s - nonzero urb status received: %d", | 204 | dev_dbg(&port->dev, "%s - nonzero urb status received: %d\n", |
205 | __func__, status); | 205 | __func__, status); |
206 | goto exit; | 206 | goto exit; |
207 | } | 207 | } |
208 | 208 | ||
@@ -391,7 +391,8 @@ static void belkin_sa_set_termios(struct tty_struct *tty, | |||
391 | urb_value = BELKIN_SA_DATA_BITS(8); | 391 | urb_value = BELKIN_SA_DATA_BITS(8); |
392 | break; | 392 | break; |
393 | default: | 393 | default: |
394 | dbg("CSIZE was not CS5-CS8, using default of 8"); | 394 | dev_dbg(&port->dev, |
395 | "CSIZE was not CS5-CS8, using default of 8\n"); | ||
395 | urb_value = BELKIN_SA_DATA_BITS(8); | 396 | urb_value = BELKIN_SA_DATA_BITS(8); |
396 | break; | 397 | break; |
397 | } | 398 | } |