serial: Use bits for UART_LSR_BRK_ERROR_BITS/MSR_ANY_DELTA
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 24 Jun 2022 20:54:21 +0000 (23:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jun 2022 12:41:31 +0000 (14:41 +0200)
commite23ee9d2c4ccb08fdfee3aea0a04a27bccd77433
treee39c1af1395e118adcaafa528da616d288825e74
parentfddbab7b40b34d204c4dfa7c6a62e5f7c1920e98
serial: Use bits for UART_LSR_BRK_ERROR_BITS/MSR_ANY_DELTA

Instead of listing the bits for UART_LSR_BRK_ERROR_BITS and
UART_MSR_ANY_DELTA in comment, use them to define instead.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220624205424.12686-4-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/serial_reg.h