Commit f261d465 authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: tsc2007 - remove unused poll_delay from platform data

The driver does not use poll_delay parameter, so let's remove it.
Tested-by: default avatarDenis Carikli <denis@eukrea.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 07f9e5cf
...@@ -75,7 +75,6 @@ struct tsc2007 { ...@@ -75,7 +75,6 @@ struct tsc2007 {
u16 model; u16 model;
u16 x_plate_ohms; u16 x_plate_ohms;
u16 max_rt; u16 max_rt;
unsigned long poll_delay;
unsigned long poll_period; unsigned long poll_period;
int fuzzx; int fuzzx;
int fuzzy; int fuzzy;
...@@ -351,7 +350,6 @@ static int tsc2007_probe_pdev(struct i2c_client *client, struct tsc2007 *ts, ...@@ -351,7 +350,6 @@ static int tsc2007_probe_pdev(struct i2c_client *client, struct tsc2007 *ts,
ts->model = pdata->model; ts->model = pdata->model;
ts->x_plate_ohms = pdata->x_plate_ohms; ts->x_plate_ohms = pdata->x_plate_ohms;
ts->max_rt = pdata->max_rt ? : MAX_12BIT; ts->max_rt = pdata->max_rt ? : MAX_12BIT;
ts->poll_delay = pdata->poll_delay ? : 1;
ts->poll_period = pdata->poll_period ? : 1; ts->poll_period = pdata->poll_period ? : 1;
ts->get_pendown_state = pdata->get_pendown_state; ts->get_pendown_state = pdata->get_pendown_state;
ts->clear_penirq = pdata->clear_penirq; ts->clear_penirq = pdata->clear_penirq;
......
...@@ -7,8 +7,6 @@ struct tsc2007_platform_data { ...@@ -7,8 +7,6 @@ struct tsc2007_platform_data {
u16 model; /* 2007. */ u16 model; /* 2007. */
u16 x_plate_ohms; /* must be non-zero value */ u16 x_plate_ohms; /* must be non-zero value */
u16 max_rt; /* max. resistance above which samples are ignored */ u16 max_rt; /* max. resistance above which samples are ignored */
unsigned long poll_delay; /* delay (in ms) after pen-down event
before polling starts */
unsigned long poll_period; /* time (in ms) between samples */ unsigned long poll_period; /* time (in ms) between samples */
int fuzzx; /* fuzz factor for X, Y and pressure axes */ int fuzzx; /* fuzz factor for X, Y and pressure axes */
int fuzzy; int fuzzy;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment