tty: serial: lpc32xx_hs: use serial_lpc32xx_stop_tx() helper
authorJiri Slaby <jslaby@suse.cz>
Thu, 24 Feb 2022 11:10:28 +0000 (12:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 09:38:54 +0000 (10:38 +0100)
commitf52361790aaf58d489952a7641777549979428f4
tree18bff0b619dd279781f371f04907daea74347daa
parentd185a852e17c2ca6a3c796dbde4ee98d0ecbded1
tty: serial: lpc32xx_hs: use serial_lpc32xx_stop_tx() helper

Instead of open-coding what serial_lpc32xx_stop_tx() already does, call
it in __serial_lpc32xx_tx() directly.

Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220224111028.20917-6-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/lpc32xx_hs.c