Thread (26 messages) 26 messages, 3 authors, 2018-02-01

Re: [PATCH 6/8] Input: mms114 - Use BIT() macro instead of explicit shifting

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2018-01-29 19:46:58
Also in: lkml

On Mon, Jan 29, 2018 at 08:33:21PM +0900, Andi Shyti wrote:
Signed-off-by: Andi Shyti <redacted>
Applied, thank you.
quoted hunk ↗ jump to hunk
---
 drivers/input/touchscreen/mms114.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index fdf23bc416af..d70c03adf148 100644
--- 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
-- 
2.15.1
-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help