]> asedeno.scripts.mit.edu Git - linux.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)
commite47ff893bc674c32ac21094d623533ac6e585ca7
tree3737d22ceb78e7d0ead456b26c996d83b694aef5
parent4ec90ac5047e33f5d64e21c31046be2ff8aaaf4b
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