tty: serial: extract serial_omap_put_char() from transmit_chars()
authorJiri Slaby <jslaby@suse.cz>
Tue, 20 Sep 2022 05:20:47 +0000 (07:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2022 14:14:08 +0000 (16:14 +0200)
commit7ef26ab6feea3459d96dff9e4f98bf8a20bfb809
tree75fb9db818886404abef101e21a25600b11c5961
parent8ca01f8f70d1e54cf033945ac3539f52b7334c34
tty: serial: extract serial_omap_put_char() from transmit_chars()

This non-trivial code is doubled in transmit_chars(), so it deserves its
own function. This will make next patches easier.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220920052049.20507-8-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c