diff options
| author | Jiri Slaby <[email protected]> | 2022-02-24 09:55:56 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-28 20:49:06 +0000 |
| commit | 5e1440bc23324846a003052787af6aa492e90773 (patch) | |
| tree | 5229fec9026a2cf76a832348280de1df0515bc73 /drivers/tty/serial/sccnxp.c | |
| parent | tty: serial: make use of UART_LCR_WLEN() + tty_get_char_size() (diff) | |
| download | kernel-5e1440bc23324846a003052787af6aa492e90773.tar.gz kernel-5e1440bc23324846a003052787af6aa492e90773.zip | |
USB: serial: make use of UART_LCR_WLEN() + tty_get_char_size()
Having a generic UART_LCR_WLEN() macro and the tty_get_char_size()
helper, we can remove all those repeated switch-cases in drivers.
Cc: Johan Hovold <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
