]> git.baikalelectronics.ru Git - kernel.git/commit
Input: sx8654 - convert #defined flags to BIT(x)
authorRichard Leitner <richard.leitner@skidata.com>
Tue, 29 Jan 2019 00:17:58 +0000 (16:17 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 5 Feb 2019 07:25:54 +0000 (23:25 -0800)
commit120fa15617cb71b83da8a047057e79f7dcd0a087
tree3737d22ceb78e7d0ead456b26c996d83b694aef5
parent94e5325f10caec540128ea147ad6da314ea3f78a
Input: sx8654 - convert #defined flags to BIT(x)

Some of the #defined register values are one-bit flags. Convert them to
use the BIT(x) macro instead of 1 byte hexadecimal values. This improves
readability and clarifies the intent.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/sx8654.c