diff options
author | 2022-11-23 08:04:54 -0500 | |
---|---|---|
committer | 2023-01-19 14:59:40 +0100 | |
commit | ca538cc7271dea86773712b84ed02b22aaed1a12 (patch) | |
tree | c835c219da7fe1544db98b37c7dabeeaf8a8c112 /include/linux/serial.h | |
parent | serial: liteuart: rx loop should only ack rx events (diff) | |
download | linux-rng-ca538cc7271dea86773712b84ed02b22aaed1a12.tar.xz linux-rng-ca538cc7271dea86773712b84ed02b22aaed1a12.zip |
serial: liteuart: simplify passing of uart_insert_char() flag
Simply provide the hard-coded TTY_NORMAL flag to uart_insert_char()
directly -- no need to dedicate a variable for that exclusive purpose.
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20221123130500.1030189-9-gsomlo@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial.h')
0 files changed, 0 insertions, 0 deletions