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>
This commit is contained in:
parent
933025b608
commit
08db6c59a2
1 changed files with 6 additions and 6 deletions
|
@ -57,7 +57,7 @@ static int debug;
|
||||||
#define QT2_HW_FLOW_CONTROL_MASK 0xc5
|
#define QT2_HW_FLOW_CONTROL_MASK 0xc5
|
||||||
#define QT2_SW_FLOW_CONTROL_MASK 0xc6
|
#define QT2_SW_FLOW_CONTROL_MASK 0xc6
|
||||||
#define QT2_SW_FLOW_CONTROL_DISABLE 0xc7
|
#define QT2_SW_FLOW_CONTROL_DISABLE 0xc7
|
||||||
#define QT2_BREAK_CONTROL 0xc8
|
#define QT2_BREAK_CONTROL 0xc8
|
||||||
#define QT2_STOP_RECEIVE 0xe0
|
#define QT2_STOP_RECEIVE 0xe0
|
||||||
#define QT2_FLUSH_DEVICE 0xc4
|
#define QT2_FLUSH_DEVICE 0xc4
|
||||||
#define QT2_GET_SET_QMCR 0xe1
|
#define QT2_GET_SET_QMCR 0xe1
|
||||||
|
@ -207,7 +207,7 @@ struct quatech2_dev {
|
||||||
bool ReadBulkStopped;
|
bool ReadBulkStopped;
|
||||||
char open_ports;
|
char open_ports;
|
||||||
struct usb_serial_port *current_port;
|
struct usb_serial_port *current_port;
|
||||||
int buffer_size;
|
int buffer_size;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* structure which holds line and modem status flags */
|
/* structure which holds line and modem status flags */
|
||||||
|
@ -1648,10 +1648,10 @@ __func__);
|
||||||
} /*endif*/
|
} /*endif*/
|
||||||
if (tty_st && urb->actual_length) {
|
if (tty_st && urb->actual_length) {
|
||||||
tty_buffer_request_room(tty_st, 1);
|
tty_buffer_request_room(tty_st, 1);
|
||||||
tty_insert_flip_string(tty_st,
|
tty_insert_flip_string(tty_st, &(
|
||||||
&((unsigned char *)(urb->transfer_buffer)
|
(unsigned char *)
|
||||||
)[i],
|
(urb->transfer_buffer)
|
||||||
1);
|
)[i], 1);
|
||||||
}
|
}
|
||||||
} /*endfor*/
|
} /*endfor*/
|
||||||
tty_flip_buffer_push(tty_st);
|
tty_flip_buffer_push(tty_st);
|
||||||
|
|
Loading…
Add table
Reference in a new issue