USB: serial: ti_usb_3410_5052: clean up termios CSIZE handling
Remove the random white space from the CSIZE switch. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
Родитель
b7cff0c412
Коммит
4ef8f23577
|
@ -910,18 +910,18 @@ static void ti_set_termios(struct tty_struct *tty,
|
||||||
|
|
||||||
switch (C_CSIZE(tty)) {
|
switch (C_CSIZE(tty)) {
|
||||||
case CS5:
|
case CS5:
|
||||||
config->bDataBits = TI_UART_5_DATA_BITS;
|
config->bDataBits = TI_UART_5_DATA_BITS;
|
||||||
break;
|
break;
|
||||||
case CS6:
|
case CS6:
|
||||||
config->bDataBits = TI_UART_6_DATA_BITS;
|
config->bDataBits = TI_UART_6_DATA_BITS;
|
||||||
break;
|
break;
|
||||||
case CS7:
|
case CS7:
|
||||||
config->bDataBits = TI_UART_7_DATA_BITS;
|
config->bDataBits = TI_UART_7_DATA_BITS;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
case CS8:
|
case CS8:
|
||||||
config->bDataBits = TI_UART_8_DATA_BITS;
|
config->bDataBits = TI_UART_8_DATA_BITS;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* CMSPAR isn't supported by this driver */
|
/* CMSPAR isn't supported by this driver */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче