]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: xilinx_uartps: drop cdns_uart::cdns_uart_driver
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 19 Nov 2025 09:24:53 +0000 (10:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Nov 2025 17:31:27 +0000 (18:31 +0100)
commit6d4b55bf18c6dc74221f76770c8e4862f1a2b084
tree427c77dfa923a79d053910f0d1bef90eb169bc5f
parent80a3471f59ef6284f7ca78ffc36d90007536ee0a
serial: xilinx_uartps: drop cdns_uart::cdns_uart_driver

Provided the uart driver is available globally, there is no need to
store a pointer to it in struct cdns_uart. Instead, use the global
cdns_uart_uart_driver in the code directly.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://patch.msgid.link/20251119092457.826789-3-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c