Input: atmel_mxt_ts - read screen config from chip
authorNick Dyer <nick.dyer@itdev.co.uk>
Mon, 19 May 2014 06:16:49 +0000 (23:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 27 May 2014 02:08:21 +0000 (19:08 -0700)
commit61dc1abae64854c7cef543598b9e6f04886c4ebd
tree1262bc381b886d3e4cb84c1cef616bf290f44752
parentf2ac6cb9201399fa2b2146ea941c0c5ce2aa197a
Input: atmel_mxt_ts - read screen config from chip

By reading the touchscreen configuration from the settings that the
maXTouch chip is actually using, we can remove some platform data.

The matrix size is not used for anything, and results in some rather
confusing code to re-read it because it may change when configuration
is downloaded, so don't print it out.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
arch/arm/mach-s5pv210/mach-goni.c
drivers/input/touchscreen/atmel_mxt_ts.c
drivers/platform/chrome/chromeos_laptop.c
include/linux/i2c/atmel_mxt_ts.h