[PATCH 0/6] serial: Cleanup literals

From: Ilpo Järvinen
Date: Thu Nov 24 2022 - 08:00:04 EST


Convert plenty of register write literals to use the proper defines. In
most of the cases the defines already exist but a few new defines are
added too for combined sets of flags.

Ilpo Järvinen (6):
serial: 8250: Use defined IER bits
serial: 8250: Name MSR literals
serial: 8250: Cleanup MCR literals
serial: 8250: Add IIR FIFOs enabled field properly
serial: 8250: Define IIR 64 byte bit & cleanup related code
serial: 8250_early: Convert literals to use defines

drivers/tty/serial/8250/8250_early.c | 4 +--
drivers/tty/serial/8250/8250_port.c | 47 ++++++++++++++--------------
include/linux/serial.h | 10 ++++++
include/uapi/linux/serial_reg.h | 5 +++
4 files changed, 41 insertions(+), 25 deletions(-)

--
2.30.2