]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: pass struct uart_state to uart_line_info()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Mon, 17 Mar 2025 07:00:41 +0000 (08:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 15:00:52 +0000 (08:00 -0700)
commit1e657d663f4fa10d07d6e6ebfa76616355b66196
tree952cc6387acf3867708556b7894a3ea43ad32f37
parentbfc467db60b76c30ca1f7f02088a219b6d5b6e8c
serial: pass struct uart_state to uart_line_info()

uart_line_info() wants to work with struct uart_state. Do not pass a
driver and an index. Pass the precomputed struct directly.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250317070046.24386-27-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c