tty: serial: uartlite: Use constants in early_uartlite_putc
authorSean Anderson <sean.anderson@seco.com>
Thu, 26 Aug 2021 19:43:23 +0000 (15:43 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Aug 2021 14:34:04 +0000 (16:34 +0200)
commit3620a89b7d27138c716e5cf537a0bf6606a3a1b3
tree443500d44280b51c3e2a596377a6aec21607e08c
parentbb2853a6a421a052268eee00fd5d3f6b3504b2b1
tty: serial: uartlite: Use constants in early_uartlite_putc

Use the constants defined at the beginning of this file instead of
integer literals when accessing registers. This makes this code easier
to read, and obviates the need for some explanatory comments.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20210826194323.3209227-1-sean.anderson@seco.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/uartlite.c