diff options
| author | Jiri Slaby <[email protected]> | 2022-09-27 11:18:17 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-09-30 12:58:45 +0000 |
| commit | ed9bf4aea06e36bbb3482e01061c433d703bcaff (patch) | |
| tree | 08d04b30eb20e2cb77fb954604ce6edd39ee5ec8 /drivers/tty/serial/sccnxp.c | |
| parent | tty: serial: extend lqasc_tx_ready() to lqasc_console_putchar() (diff) | |
| download | kernel-ed9bf4aea06e36bbb3482e01061c433d703bcaff.tar.gz kernel-ed9bf4aea06e36bbb3482e01061c433d703bcaff.zip | |
tty: serial: use FIELD_GET() in lqasc_tx_ready()
FIELD_GET() can do the job smarter and more readable. We don't even need
ASCFSTAT_TXFREEOFF. So switch to the former and remove the latter.
Suggested-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
