summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-02-24 10:55:55 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-28 21:49:06 +0100
commit988c5bbea59ffacb7762983760ae40d721ea304b (patch)
treea45740280669bf483b3c0237d263df936b3b6616 /samples
parent797bd4d41c8b41afc10fad39146ac9558cb39e94 (diff)
downloadlinux-988c5bbea59ffacb7762983760ae40d721ea304b.tar.bz2
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 <ldewangan@nvidia.com> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Jonathan Hunter <jonathanh@nvidia.com> Cc: linux-tegra@vger.kernel.org Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220224095558.30929-2-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions