Re: [PATCH v4 03/10] tty: serial: altera_uart_{r,t}x_chars() need only uart_port
From: Tobias Klauser
Date: Tue Sep 20 2022 - 10:25:50 EST
On 2022-09-20 at 07:20:43 +0200, Jiri Slaby <jslaby@xxxxxxx> wrote:
> Both altera_uart_{r,t}x_chars() need only uart_port, not altera_uart. So
> pass the former from altera_uart_interrupt() directly.
>
> Apart it maybe saves a dereference, this makes the transition of
> altera_uart_tx_chars() easier to follow in the next patch.
>
> Cc: Tobias Klauser <tklauser@xxxxxxxxxx>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
Acked-by: Tobias Klauser <tklauser@xxxxxxxxxx>