Input: ar1021_i2c - use BIT to check for a bit
authorMartin Kepplinger <martink@posteo.de>
Mon, 1 May 2017 17:13:47 +0000 (10:13 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 1 May 2017 19:30:00 +0000 (12:30 -0700)
commit8a038b83e012097a7ac6cfb9f6c5fac1da8fad6e
treef9f4c54bec7e89928f90b22d64bde02f39d062ca
parent61e29ec1c96f67605217c2a80441a75ff906db62
Input: ar1021_i2c - use BIT to check for a bit

The MSB for the first byte of touch data transmission is always 1. Make
it a little more obvious we're testing this bit by using BIT(7).

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ar1021_i2c.c