summaryrefslogtreecommitdiffstats
path: root/drivers/platform/mellanox
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-02-24 10:55:57 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-28 22:17:21 +0100
commit834119f5763148e2a9c56785cd09dd397fd24020 (patch)
treefd9d17cd0a65c32f759bcb146d13e68572abf1c5 /drivers/platform/mellanox
parent5e1440bc23324846a003052787af6aa492e90773 (diff)
downloadlinux-834119f5763148e2a9c56785cd09dd397fd24020.tar.bz2
sdio_uart: 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: Ulf Hansson <ulf.hansson@linaro.org> Cc: linux-mmc@vger.kernel.org Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220224095558.30929-4-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/mellanox')
0 files changed, 0 insertions, 0 deletions