summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNick Dyer <nick.dyer@itdev.co.uk>2014-05-19 08:16:49 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-27 04:08:21 +0200
commit61dc1abae64854c7cef543598b9e6f04886c4ebd (patch)
tree1262bc381b886d3e4cb84c1cef616bf290f44752 /arch
parentInput: atmel_mxt_ts - add check for incorrect firmware file format (diff)
downloadlinux-61dc1abae64854c7cef543598b9e6f04886c4ebd.tar.xz
linux-61dc1abae64854c7cef543598b9e6f04886c4ebd.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s5pv210/mach-goni.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c
index e549ecf0e5dc..bb9354f45e27 100644
--- a/arch/arm/mach-s5pv210/mach-goni.c
+++ b/arch/arm/mach-s5pv210/mach-goni.c
@@ -239,9 +239,6 @@ static void __init goni_radio_init(void)
/* TSP */
static struct mxt_platform_data qt602240_platform_data = {
- .x_size = 800,
- .y_size = 480,
- .orient = MXT_DIAGONAL,
.irqflags = IRQF_TRIGGER_FALLING,
};