summaryrefslogtreecommitdiff
path: root/drivers/tty/goldfish.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-04-11 13:45:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-14 19:27:18 +0300
commit9c3a431a486d0c494a68941045885333a5bc1975 (patch)
tree5f02801134154b1b5c0fc14e3f5ed91cf89b9283 /drivers/tty/goldfish.c
parentd9b80d07db686402bbb3b237692a98da93125ace (diff)
downloadlinux-9c3a431a486d0c494a68941045885333a5bc1975.tar.xz
tty: serial: altera: use altera_jtaguart_stop_tx()
altera_jtaguart_tx_chars() duplicates what altera_jtaguart_stop_tx() already does. So instead of the duplication, call the helper instead. Not only it makes the code cleaner, but it also says what the "if" really does. Cc: Tobias Klauser <tklauser@distanz.ch> Acked-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220411104506.8990-4-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/goldfish.c')
0 files changed, 0 insertions, 0 deletions