Although defined in platform data, vref is not used anywhere.
Also remove model, irq, and clear_penirq as they are not used either.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
struct delayed_work work;
struct ts_event tc;
struct tps6507x_dev *mfd;
- u16 model;
u16 min_pressure;
- int irq;
- void (*clear_penirq)(void);
unsigned long poll_period; /* ms */
- int vref; /* non-zero to leave vref on */
bool pendown;
};
if (init_data) {
tsc->poll_period = init_data->poll_period;
- tsc->vref = init_data->vref;
tsc->min_pressure = init_data->min_pressure;
input_dev->id.vendor = init_data->vendor;
input_dev->id.product = init_data->product;
/* Board specific touch screen initial values */
struct touchscreen_init_data {
int poll_period; /* ms */
- int vref; /* non-zero to leave vref on */
__u16 min_pressure; /* min reading to be treated as a touch */
__u16 vendor;
__u16 product;