diff options
author | Alan Cox <alan@redhat.com> | 2009-01-02 08:42:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-02 13:19:36 -0500 |
commit | d95186d1f455b4b901121ba69d0680800fb4b57b (patch) | |
tree | 80740859d8c84b4177a2a0914662354ae9a7ca93 /drivers/usb/serial/sierra.c | |
parent | 835aa440f1c3fe16a622015bc1b52dffedf6d90e (diff) |
sierra: Fix formatting
Andrew Morton wrote:
in drivers/usb/serial/sierra.c:
} else {
if (urb->actual_length) {
+ tty = tty_port_tty_get(&port->port);
tty_buffer_request_room(tty, urb->actual_length);
it's missing a tab.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/serial/sierra.c')
-rw-r--r-- | drivers/usb/serial/sierra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 0f2b67244af6..d9bf9a5c20ec 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c | |||
@@ -442,7 +442,7 @@ static void sierra_indat_callback(struct urb *urb) | |||
442 | " endpoint %02x.", __func__, status, endpoint); | 442 | " endpoint %02x.", __func__, status, endpoint); |
443 | } else { | 443 | } else { |
444 | if (urb->actual_length) { | 444 | if (urb->actual_length) { |
445 | tty = tty_port_tty_get(&port->port); | 445 | tty = tty_port_tty_get(&port->port); |
446 | tty_buffer_request_room(tty, urb->actual_length); | 446 | tty_buffer_request_room(tty, urb->actual_length); |
447 | tty_insert_flip_string(tty, data, urb->actual_length); | 447 | tty_insert_flip_string(tty, data, urb->actual_length); |
448 | tty_flip_buffer_push(tty); | 448 | tty_flip_buffer_push(tty); |