diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 04:58:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 04:58:57 -0400 |
commit | 59d33f2fc2d63796296b1b76143e039d6e7cf532 (patch) | |
tree | e754135e560ab7478694c942fe65bc4ea325053b /drivers/usb/serial/sierra.c | |
parent | 82760526e6d2e1d1e815abaf3eae42b8bb82968c (diff) |
USB: serial: remove debug parameter from usb_serial_debug_data()
We should use dev_dbg() for usb_serial_debug_data() like all of the rest
of the usb-serial drivers use, so remove the debug parameter as it's not
needed.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/sierra.c')
-rw-r--r-- | drivers/usb/serial/sierra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 0274710cced5..400bb131fb97 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c | |||
@@ -518,7 +518,7 @@ static int sierra_write(struct tty_struct *tty, struct usb_serial_port *port, | |||
518 | 518 | ||
519 | memcpy(buffer, buf, writesize); | 519 | memcpy(buffer, buf, writesize); |
520 | 520 | ||
521 | usb_serial_debug_data(debug, &port->dev, __func__, writesize, buffer); | 521 | usb_serial_debug_data(&port->dev, __func__, writesize, buffer); |
522 | 522 | ||
523 | usb_fill_bulk_urb(urb, serial->dev, | 523 | usb_fill_bulk_urb(urb, serial->dev, |
524 | usb_sndbulkpipe(serial->dev, | 524 | usb_sndbulkpipe(serial->dev, |
@@ -595,8 +595,8 @@ static void sierra_indat_callback(struct urb *urb) | |||
595 | tty_flip_buffer_push(tty); | 595 | tty_flip_buffer_push(tty); |
596 | 596 | ||
597 | tty_kref_put(tty); | 597 | tty_kref_put(tty); |
598 | usb_serial_debug_data(debug, &port->dev, | 598 | usb_serial_debug_data(&port->dev, __func__, |
599 | __func__, urb->actual_length, data); | 599 | urb->actual_length, data); |
600 | } | 600 | } |
601 | } else { | 601 | } else { |
602 | dev_dbg(&port->dev, "%s: empty read urb" | 602 | dev_dbg(&port->dev, "%s: empty read urb" |