]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250: Use BIT(x) for UART_{CAP,BUG}_*
authorAndrew Jeffery <andrew@aj.id.au>
Thu, 20 May 2021 02:13:34 +0000 (11:43 +0930)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 May 2021 15:14:50 +0000 (17:14 +0200)
commit68ae28ace0ea05964ca0601cf5803d351741035b
tree68b69b412ad19b587125d3dd99beec885ece1af7
parent036230a3a092951e297d4a477646171bf35414b0
serial: 8250: Use BIT(x) for UART_{CAP,BUG}_*

BIT(x) improves readability and safety with respect to shifts.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20210520021334.497341-3-andrew@aj.id.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250.h