tty: serial: Cleanup the bit shift with macro
authorCrescent CY Hsieh <crescentcy.hsieh@moxa.com>
Fri, 1 Dec 2023 07:15:53 +0000 (15:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jan 2024 15:20:36 +0000 (16:20 +0100)
commit76ac8e29855b06331d77a1d237a28ce97ac67a38
tree06fd2eec66df7cc33ec508d97f01f724da468737
parentd4303e0b9f51b9dc97bd682332a1e2ded919bedc
tty: serial: Cleanup the bit shift with macro

This patch replaces the bit shift code with "_BITUL()" macro inside
"serial_rs485" struct.

Signed-off-by: Crescent CY Hsieh <crescentcy.hsieh@moxa.com>
Link: https://lore.kernel.org/r/20231201071554.258607-2-crescentcy.hsieh@moxa.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/serial.h