serial: 8250: Name MSR literals
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 25 Nov 2022 13:05:05 +0000 (15:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 14:01:19 +0000 (15:01 +0100)
commitd9c1d3cbdeec94f077679b73ed5ce3a4fe4bf4b8
tree5987b0bf061ca7c5c1a0b69236f1b2fb1f3cb2cd
parentef460db2a7c1df5eda2ea6011e7586e54e23b8c4
serial: 8250: Name MSR literals

Add UART_MSR_STATUS_BITS for CD, RI, DSR & CTS. Use names for the
literal.

Don't make the define for combined flags part of UAPI.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20221125130509.8482-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c
include/linux/serial.h