aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/atmel_mxt_ts.c
diff options
context:
space:
mode:
authorNick Dyer <nick.dyer@itdev.co.uk>2018-07-27 11:45:20 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-07-27 11:59:30 -0700
commite9326857f437dd83392d80a4820aa2b030c5a666 (patch)
tree961217d279d5721188a4f5a86f93ff311b21f78c /drivers/input/touchscreen/atmel_mxt_ts.c
parentInput: atmel_mxt_ts - use BIT() macro everywhere (diff)
downloadlinux-dev-e9326857f437dd83392d80a4820aa2b030c5a666.tar.xz
linux-dev-e9326857f437dd83392d80a4820aa2b030c5a666.zip
Input: atmel_mxt_ts - remove duplicate setup of ABS_MT_PRESSURE
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to '')
-rw-r--r--drivers/input/touchscreen/atmel_mxt_ts.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index 9555947a2d46..dcafb812ee7e 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -2056,12 +2056,6 @@ static int mxt_initialize_input_device(struct mxt_data *data)
}
if (data->multitouch == MXT_TOUCH_MULTITOUCHSCREEN_T100 &&
- data->t100_aux_ampl) {
- input_set_abs_params(input_dev, ABS_MT_PRESSURE,
- 0, 255, 0, 0);
- }
-
- if (data->multitouch == MXT_TOUCH_MULTITOUCHSCREEN_T100 &&
data->t100_aux_vect) {
input_set_abs_params(input_dev, ABS_MT_ORIENTATION,
0, 255, 0, 0);