diff options
author | Andi Shyti <andi.shyti@samsung.com> | 2018-01-29 22:44:44 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-01-30 21:08:16 +0300 |
commit | 7546db025f265fc0d79c754e912d5fb5fcab5b89 (patch) | |
tree | 1a000495bba0c06d091099b674b19cad405978c0 /drivers/input | |
parent | a22e88fd7da44616388d366030e9bd170ab97788 (diff) | |
download | linux-7546db025f265fc0d79c754e912d5fb5fcab5b89.tar.xz |
Input: mms114 - use BIT() macro instead of explicit shifting
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/mms114.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c index 7b1307c1374b..1483af9e3d05 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 |