A few drivers still calculate number of frame bits on their own. As core can do that for them these days, take advantage of core's capabilities. v2: - Address coding style comments (from Andy) Ilpo Järvinen (5): serial: ucc_uart: Remove custom frame size calculation serial: cpm_uart: Remove custom frame size calculation serial: fsl_lpuart: Remove custom frame size calculation serial: sunsab: Remove frame size calculation dead-code serial: tegra: Remove custom frame size calculation drivers/tty/serial/cpm_uart/cpm_uart_core.c | 31 +++++++-------------- drivers/tty/serial/fsl_lpuart.c | 9 ++---- drivers/tty/serial/serial-tegra.c | 12 ++------ drivers/tty/serial/sunsab.c | 20 ++++++------- drivers/tty/serial/ucc_uart.c | 15 +--------- 5 files changed, 24 insertions(+), 63 deletions(-) -- 2.30.2