projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a22e88f
)
Input: mms114 - use BIT() macro instead of explicit shifting
author
Andi Shyti
<andi.shyti@samsung.com>
Mon, 29 Jan 2018 19:44:44 +0000
(11:44 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 30 Jan 2018 18:08:16 +0000
(10:08 -0800)
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/mms114.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/mms114.c
b/drivers/input/touchscreen/mms114.c
index 7b1307c1374b35b43291efbb9c7f70cee1497694..1483af9e3d058231bdff75aaa52d36322a3c7236 100644
(file)
--- a/
drivers/input/touchscreen/mms114.c
+++ b/
drivers/input/touchscreen/mms114.c
@@
-21,7
+21,7
@@
/* Write only registers */
#define MMS114_MODE_CONTROL 0x01
#define MMS114_OPERATION_MODE_MASK 0xE
-#define MMS114_ACTIVE
(1 <<
1)
+#define MMS114_ACTIVE
BIT(
1)
#define MMS114_XY_RESOLUTION_H 0x02
#define MMS114_X_RESOLUTION 0x03