Jiri Slaby e41752c0e7 serial: mcf: use helpers in mcf_tx_chars()
Use uart_circ_empty() instead of open-coding it via xmit->head & tail.
Use preexisting mcf_stop_tx() to avoid stop-tx code duplication.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220124071430.14907-12-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-26 14:55:14 +01:00
..
2021-07-27 12:17:21 +02:00
2021-07-27 12:17:21 +02:00
2021-07-27 12:17:21 +02:00
2021-10-21 12:35:35 +02:00
2021-10-21 12:35:35 +02:00
2022-01-26 14:54:48 +01:00
2021-12-20 10:00:30 +01:00
2022-01-23 06:20:44 +02:00
2021-07-27 12:17:21 +02:00
2021-04-15 10:32:17 +02:00
2021-07-27 12:17:21 +02:00
2021-07-27 12:17:21 +02:00