diff options
| author | Jiri Slaby <[email protected]> | 2022-02-24 09:55:55 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-28 20:49:06 +0000 |
| commit | 988c5bbea59ffacb7762983760ae40d721ea304b (patch) | |
| tree | a45740280669bf483b3c0237d263df936b3b6616 /drivers/tty/serial/sccnxp.c | |
| parent | tty: serial: define UART_LCR_WLEN() macro (diff) | |
| download | kernel-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
