Input: tsc2005 - improve readability of register defines
authorSebastian Reichel <sre@kernel.org>
Tue, 28 Jul 2015 00:26:38 +0000 (17:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Jul 2015 05:28:16 +0000 (22:28 -0700)
commita636df9673e1e4627722777fe6075943372e76be
tree136ae32ff439c1d2deb66164f345d49828be3fe0
parente75ed3c47a2082fad87dd6d726ff7275d35e197c
Input: tsc2005 - improve readability of register defines

Improve defines for first control byte by removing 0x00 prefix (the defines
are for 8 bit values and not for 16 bit values) and expose register
structure by exposing the shift.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/tsc2005.c