summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv210
diff options
context:
space:
mode:
authorNick Dyer <nick.dyer@itdev.co.uk>2014-05-18 23:16:49 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-26 19:08:21 -0700
commit61dc1abae64854c7cef543598b9e6f04886c4ebd (patch)
tree1262bc381b886d3e4cb84c1cef616bf290f44752 /arch/arm/mach-s5pv210
parentf2ac6cb9201399fa2b2146ea941c0c5ce2aa197a (diff)
downloadlwn-61dc1abae64854c7cef543598b9e6f04886c4ebd.tar.gz
lwn-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/arm/mach-s5pv210')
-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,
};