aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/bu21013_ts.c
diff options
context:
space:
mode:
authorNaveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>2011-01-17 23:40:58 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-01-17 23:49:12 -0500
commitd2763b4f44e16f44cc4156c9591e74df9dcd88be (patch)
treece030e235f8283a6c8ffa689995ce3847ea8135d /drivers/input/touchscreen/bu21013_ts.c
parentba555461833aa1b5083004492ba97c92d5fccf46 (diff)
Input: bu21013_ts - remove duplicate resolution parameters
Remove duplicate display resolution parameters from platform data as one pair is quite enough. Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/bu21013_ts.c')
-rw-r--r--drivers/input/touchscreen/bu21013_ts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/bu21013_ts.c b/drivers/input/touchscreen/bu21013_ts.c
index f7fa9ef4cd65..3c7e60b2f778 100644
--- a/drivers/input/touchscreen/bu21013_ts.c
+++ b/drivers/input/touchscreen/bu21013_ts.c
@@ -485,9 +485,9 @@ static int __devinit bu21013_probe(struct i2c_client *client,
485 __set_bit(EV_ABS, in_dev->evbit); 485 __set_bit(EV_ABS, in_dev->evbit);
486 486
487 input_set_abs_params(in_dev, ABS_MT_POSITION_X, 0, 487 input_set_abs_params(in_dev, ABS_MT_POSITION_X, 0,
488 pdata->x_max_res, 0, 0); 488 pdata->touch_x_max, 0, 0);
489 input_set_abs_params(in_dev, ABS_MT_POSITION_Y, 0, 489 input_set_abs_params(in_dev, ABS_MT_POSITION_Y, 0,
490 pdata->y_max_res, 0, 0); 490 pdata->touch_y_max, 0, 0);
491 input_set_drvdata(in_dev, bu21013_data); 491 input_set_drvdata(in_dev, bu21013_data);
492 492
493 error = request_threaded_irq(pdata->irq, NULL, bu21013_gpio_irq, 493 error = request_threaded_irq(pdata->irq, NULL, bu21013_gpio_irq,