serial: imx: refine local variables in rxint()
authorSergey Organov <sorganov@gmail.com>
Wed, 1 Feb 2023 14:27:00 +0000 (17:27 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2023 12:12:07 +0000 (13:12 +0100)
commit2af4b918848b4102f0bf5761057e2506258e0bb8
tree348c10c1f304ca495c45d4d86018396243e59bf9
parent53701b6d2ce7202cff88943ee812917c896a8e90
serial: imx: refine local variables in rxint()

The 'rx' is chip register, similar to 'usr2', so let it be of 'u32' type as
well.

Move 'flg' to be FIFO read loop local as it's not used outside.

Signed-off-by: Sergey Organov <sorganov@gmail.com>
Link: https://lore.kernel.org/r/20230201142700.4346-8-sorganov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c