aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2013-11-19 15:51:26 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-11-25 21:27:54 -0500
commitf261d46551275abc9e92b24773b15fbb82153b63 (patch)
tree6e3c94963acd8dba7169780b9817eaa83df031ba /drivers/input
parent07f9e5cf8e4154ad17b92ad288be0f04fa0cb94f (diff)
Input: tsc2007 - remove unused poll_delay from platform data
The driver does not use poll_delay parameter, so let's remove it. Tested-by: Denis Carikli <denis@eukrea.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/tsc2007.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c
index 88b150a0b8ee..03fbdf1e8613 100644
--- a/drivers/input/touchscreen/tsc2007.c
+++ b/drivers/input/touchscreen/tsc2007.c
@@ -75,7 +75,6 @@ struct tsc2007 {
75 u16 model; 75 u16 model;
76 u16 x_plate_ohms; 76 u16 x_plate_ohms;
77 u16 max_rt; 77 u16 max_rt;
78 unsigned long poll_delay;
79 unsigned long poll_period; 78 unsigned long poll_period;
80 int fuzzx; 79 int fuzzx;
81 int fuzzy; 80 int fuzzy;
@@ -351,7 +350,6 @@ static int tsc2007_probe_pdev(struct i2c_client *client, struct tsc2007 *ts,
351 ts->model = pdata->model; 350 ts->model = pdata->model;
352 ts->x_plate_ohms = pdata->x_plate_ohms; 351 ts->x_plate_ohms = pdata->x_plate_ohms;
353 ts->max_rt = pdata->max_rt ? : MAX_12BIT; 352 ts->max_rt = pdata->max_rt ? : MAX_12BIT;
354 ts->poll_delay = pdata->poll_delay ? : 1;
355 ts->poll_period = pdata->poll_period ? : 1; 353 ts->poll_period = pdata->poll_period ? : 1;
356 ts->get_pendown_state = pdata->get_pendown_state; 354 ts->get_pendown_state = pdata->get_pendown_state;
357 ts->clear_penirq = pdata->clear_penirq; 355 ts->clear_penirq = pdata->clear_penirq;