Re: [PATCH 3/3] tty: serial: altera: use altera_jtaguart_stop_tx()
From: Tobias Klauser
Date: Tue Apr 12 2022 - 08:29:01 EST
On 2022-04-11 at 12:45:06 +0200, Jiri Slaby <jslaby@xxxxxxx> wrote:
> altera_jtaguart_tx_chars() duplicates what altera_jtaguart_stop_tx()
> already does. So instead of the duplication, call the helper instead.
>
> Not only it makes the code cleaner, but it also says what the "if"
> really does.
>
> Cc: Tobias Klauser <tklauser@xxxxxxxxxx>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
Acked-by: Tobias Klauser <tklauser@xxxxxxxxxx>
Thanks