]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tty: serial: extend lqasc_tx_ready() to lqasc_console_putchar()
authorJiri Slaby <jslaby@suse.cz>
Tue, 27 Sep 2022 11:18:16 +0000 (13:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Sep 2022 12:58:45 +0000 (14:58 +0200)
commitd8544c9c7cf77100be9340c61a9e3e88fe4bb12c
tree24c7ecd95900a8386fc49724e768a9884ae9eeab
parent8a1088116ba5ddbfcd69789b4a153733c9686cbb
tty: serial: extend lqasc_tx_ready() to lqasc_console_putchar()

There is one more place where lqasc_tx_ready() can be used now:
lqasc_console_putchar(). So replace the open-coded variant by the
helper.

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