]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: 8250: extract serial8250_initialize()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 11 Jun 2025 10:03:02 +0000 (12:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jun 2025 11:42:35 +0000 (13:42 +0200)
commit795158691cc02488264a59398fc6d8ce930d60ac
treef98b4d43ec2cfb15eb584f7a433d28fb5e4c20a9
parenta194597c0cd35a7e8fc6386a717b56a653e3e0a0
serial: 8250: extract serial8250_initialize()

serial8250_do_startup() initializes the ports in the middle of the
function. This code can be separated to serial8250_initialize(), so that
serial8250_do_startup() can be readable again.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250611100319.186924-17-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c