]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9bc78d8c871b680edfd2786c079e5862366eff8
treee39c1af1395e118adcaafa528da616d288825e74
parent8f075a80e063d6cba2106f150ce75ba6b75d3b00
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