serial: tegra: Remove custom frame size calculation
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 30 Aug 2022 08:49:25 +0000 (11:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2022 12:28:33 +0000 (14:28 +0200)
commitcac8f7194111bc841b609fee5f1b20dad8f86ded
treee23beadffb347986341e12e8ae64a34e4a25ec03
parent5ec2952c6278680e8fc984e2a1912d7b1203a7ba
serial: tegra: Remove custom frame size calculation

The number of bits can be calculated using tty_get_frame_size(), no
need for the driver to do it on its own.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220830084925.5608-6-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial-tegra.c