Commit d2763b4f authored by Naveen Kumar Gaddipati's avatar Naveen Kumar Gaddipati Committed by Dmitry Torokhov

Input: bu21013_ts - remove duplicate resolution parameters

Remove duplicate display resolution parameters from platform data as
one pair is quite enough.
Signed-off-by: default avatarNaveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent ba555461
...@@ -485,9 +485,9 @@ static int __devinit bu21013_probe(struct i2c_client *client, ...@@ -485,9 +485,9 @@ static int __devinit bu21013_probe(struct i2c_client *client,
__set_bit(EV_ABS, in_dev->evbit); __set_bit(EV_ABS, in_dev->evbit);
input_set_abs_params(in_dev, ABS_MT_POSITION_X, 0, input_set_abs_params(in_dev, ABS_MT_POSITION_X, 0,
pdata->x_max_res, 0, 0); pdata->touch_x_max, 0, 0);
input_set_abs_params(in_dev, ABS_MT_POSITION_Y, 0, input_set_abs_params(in_dev, ABS_MT_POSITION_Y, 0,
pdata->y_max_res, 0, 0); pdata->touch_y_max, 0, 0);
input_set_drvdata(in_dev, bu21013_data); input_set_drvdata(in_dev, bu21013_data);
error = request_threaded_irq(pdata->irq, NULL, bu21013_gpio_irq, error = request_threaded_irq(pdata->irq, NULL, bu21013_gpio_irq,
......
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
* @cs_en: pointer to the cs enable function * @cs_en: pointer to the cs enable function
* @cs_dis: pointer to the cs disable function * @cs_dis: pointer to the cs disable function
* @irq_read_val: pointer to read the pen irq value function * @irq_read_val: pointer to read the pen irq value function
* @x_max_res: xmax resolution
* @y_max_res: ymax resolution
* @touch_x_max: touch x max * @touch_x_max: touch x max
* @touch_y_max: touch y max * @touch_y_max: touch y max
* @cs_pin: chip select pin * @cs_pin: chip select pin
...@@ -29,8 +27,6 @@ struct bu21013_platform_device { ...@@ -29,8 +27,6 @@ struct bu21013_platform_device {
int (*cs_en)(int reset_pin); int (*cs_en)(int reset_pin);
int (*cs_dis)(int reset_pin); int (*cs_dis)(int reset_pin);
int (*irq_read_val)(void); int (*irq_read_val)(void);
int x_max_res;
int y_max_res;
int touch_x_max; int touch_x_max;
int touch_y_max; int touch_y_max;
unsigned int cs_pin; unsigned int cs_pin;
......
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