]> git.ipfire.org Git - thirdparty/linux.git/commit
tty: serial: samsung: Use bit manipulation macros for APPLE_S5L_*
authorNick Chan <towinchenmi@gmail.com>
Wed, 11 Sep 2024 05:02:11 +0000 (13:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Sep 2024 13:47:13 +0000 (15:47 +0200)
commit4c59c59ef3ab9275f2a8f84dcffbd16c285ce8ea
tree8d9519f569312b5d3fb0c893cfb231d608dbe482
parentf16dd10ba342c429b1e36ada545fb36d4d1f0e63
tty: serial: samsung: Use bit manipulation macros for APPLE_S5L_*

New entries using BIT() will be added soon, so change the existing ones to
use bit manipulation macros including BIT() and GENMASK() for
consistency.

Suggested-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Janne Grunau <j@jannau.net>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20240911050741.14477-2-towinchenmi@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/serial_s3c.h