diff options
author | Soeren Moeller <soerenmoeller2001@gmail.com> | 2010-03-30 16:11:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 14:35:54 -0400 |
commit | 08db6c59a2d4d8162d7544ffaa9aa7d27ce9e50a (patch) | |
tree | 99ee4045ec88d47b5badddd6348f1ef3e28e6aee /drivers/staging/quatech_usb2 | |
parent | 933025b60836a80f415bb458f3880519fc24606e (diff) |
Staging: quatech_usb2: fix coding style issues
This is a patch to the file quatech_usb2.c that fixes two space before
tabular and one line of more than 80 characters warnings found by
checkpatch.pl
Signed-off-by: Soeren Moeller <soerenmoeller2001@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/quatech_usb2')
-rw-r--r-- | drivers/staging/quatech_usb2/quatech_usb2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/quatech_usb2/quatech_usb2.c b/drivers/staging/quatech_usb2/quatech_usb2.c index 1561f74a413..ecd73135b31 100644 --- a/drivers/staging/quatech_usb2/quatech_usb2.c +++ b/drivers/staging/quatech_usb2/quatech_usb2.c | |||
@@ -57,7 +57,7 @@ static int debug; | |||
57 | #define QT2_HW_FLOW_CONTROL_MASK 0xc5 | 57 | #define QT2_HW_FLOW_CONTROL_MASK 0xc5 |
58 | #define QT2_SW_FLOW_CONTROL_MASK 0xc6 | 58 | #define QT2_SW_FLOW_CONTROL_MASK 0xc6 |
59 | #define QT2_SW_FLOW_CONTROL_DISABLE 0xc7 | 59 | #define QT2_SW_FLOW_CONTROL_DISABLE 0xc7 |
60 | #define QT2_BREAK_CONTROL 0xc8 | 60 | #define QT2_BREAK_CONTROL 0xc8 |
61 | #define QT2_STOP_RECEIVE 0xe0 | 61 | #define QT2_STOP_RECEIVE 0xe0 |
62 | #define QT2_FLUSH_DEVICE 0xc4 | 62 | #define QT2_FLUSH_DEVICE 0xc4 |
63 | #define QT2_GET_SET_QMCR 0xe1 | 63 | #define QT2_GET_SET_QMCR 0xe1 |
@@ -207,7 +207,7 @@ struct quatech2_dev { | |||
207 | bool ReadBulkStopped; | 207 | bool ReadBulkStopped; |
208 | char open_ports; | 208 | char open_ports; |
209 | struct usb_serial_port *current_port; | 209 | struct usb_serial_port *current_port; |
210 | int buffer_size; | 210 | int buffer_size; |
211 | }; | 211 | }; |
212 | 212 | ||
213 | /* structure which holds line and modem status flags */ | 213 | /* structure which holds line and modem status flags */ |
@@ -1648,10 +1648,10 @@ __func__); | |||
1648 | } /*endif*/ | 1648 | } /*endif*/ |
1649 | if (tty_st && urb->actual_length) { | 1649 | if (tty_st && urb->actual_length) { |
1650 | tty_buffer_request_room(tty_st, 1); | 1650 | tty_buffer_request_room(tty_st, 1); |
1651 | tty_insert_flip_string(tty_st, | 1651 | tty_insert_flip_string(tty_st, &( |
1652 | &((unsigned char *)(urb->transfer_buffer) | 1652 | (unsigned char *) |
1653 | )[i], | 1653 | (urb->transfer_buffer) |
1654 | 1); | 1654 | )[i], 1); |
1655 | } | 1655 | } |
1656 | } /*endfor*/ | 1656 | } /*endfor*/ |
1657 | tty_flip_buffer_push(tty_st); | 1657 | tty_flip_buffer_push(tty_st); |