On Thu, Aug 25, 2022 at 11:58 AM Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> wrote: > > 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. For non-commented patches: Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> With small style things addressed as suggested, you may spread the tag to them as well. > 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 | 28 ++++++--------------- > drivers/tty/serial/fsl_lpuart.c | 10 +++----- > drivers/tty/serial/serial-tegra.c | 12 +++------ > drivers/tty/serial/sunsab.c | 20 ++++++--------- > drivers/tty/serial/ucc_uart.c | 15 +---------- > 5 files changed, 22 insertions(+), 63 deletions(-) > > -- > 2.30.2 > -- With Best Regards, Andy Shevchenko