aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2022-02-24 09:55:55 +0000
committerGreg Kroah-Hartman <[email protected]>2022-02-28 20:49:06 +0000
commit988c5bbea59ffacb7762983760ae40d721ea304b (patch)
treea45740280669bf483b3c0237d263df936b3b6616 /drivers/tty/serial/sccnxp.c
parenttty: serial: define UART_LCR_WLEN() macro (diff)
downloadkernel-988c5bbea59ffacb7762983760ae40d721ea304b.tar.gz
kernel-988c5bbea59ffacb7762983760ae40d721ea304b.zip
tty: 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: Laxman Dewangan <[email protected]> Cc: Thierry Reding <[email protected]> Cc: Jonathan Hunter <[email protected]> Cc: [email protected] Reviewed-by: Thierry Reding <[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