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)
commit1f06f5713f5278b7768031150ceb43d1127b9ad6
tree68b69b412ad19b587125d3dd99beec885ece1af7
parentdf8f2be2fd0b44b2cb6077068f52e05f0ac40897
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