diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-01-24 10:14:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-26 16:55:14 +0300 |
commit | e41752c0e79b033fe0ea186bba0f6bb558c49729 (patch) | |
tree | 43dd9bb65524e2910ee435ca7f5e1ce24c4e2115 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d88812a8d66617efdb41d787efca0907ccd98716 (diff) | |
download | linux-e41752c0e79b033fe0ea186bba0f6bb558c49729.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions