serial: liteuart: use bit number macros
authorGabriel Somlo <gsomlo@gmail.com>
Wed, 23 Nov 2022 13:04:48 +0000 (08:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 13:59:40 +0000 (14:59 +0100)
commit5996b2e338eae69aa40c9692bfd896abebc75798
tree062ddc3b2e44d5d98f6cce3c087cbe72b8b37378
parent2696216becbe2db3eb8dba38008a5a222317167e
serial: liteuart: use bit number macros

Replace magic bit constants (e.g., 1, 2, 4) with BIT(x) expressions.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20221123130500.1030189-3-gsomlo@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/liteuart.c