aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2009-11-22 11:42:34 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 17:53:03 -0500
commitb4fc2aeef23b4b35809054ddf495f9efdc3ac9d6 (patch)
tree818041dd2604054e143d1a3ee09d60453fbcf5f3 /drivers/usb/serial
parent0076b4bec5cffff856ec4a91830c902fbd7870df (diff)
USB: serial: fix typo in debug message
Fixes confusing "serial_chars_in_buffer = port 0" messages. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/usb-serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
index 33c85f7084f..9c7e1d563e5 100644
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -381,7 +381,7 @@ static int serial_write_room(struct tty_struct *tty)
381static int serial_chars_in_buffer(struct tty_struct *tty) 381static int serial_chars_in_buffer(struct tty_struct *tty)
382{ 382{
383 struct usb_serial_port *port = tty->driver_data; 383 struct usb_serial_port *port = tty->driver_data;
384 dbg("%s = port %d", __func__, port->number); 384 dbg("%s - port %d", __func__, port->number);
385 385
386 /* if the device was unplugged then any remaining characters 386 /* if the device was unplugged then any remaining characters
387 fell out of the connector ;) */ 387 fell out of the connector ;) */