diff options
| author | Nick Dyer <nick.dyer@itdev.co.uk> | 2018-07-27 14:45:20 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-07-27 14:59:30 -0400 |
| commit | e9326857f437dd83392d80a4820aa2b030c5a666 (patch) | |
| tree | 961217d279d5721188a4f5a86f93ff311b21f78c /drivers/input | |
| parent | 204b4eae0cb092703ce7c8c79f0f5192683b8a7c (diff) | |
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 'drivers/input')
| -rw-r--r-- | drivers/input/touchscreen/atmel_mxt_ts.c | 6 |
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) | |||
| 2056 | } | 2056 | } |
| 2057 | 2057 | ||
| 2058 | if (data->multitouch == MXT_TOUCH_MULTITOUCHSCREEN_T100 && | 2058 | if (data->multitouch == MXT_TOUCH_MULTITOUCHSCREEN_T100 && |
| 2059 | data->t100_aux_ampl) { | ||
| 2060 | input_set_abs_params(input_dev, ABS_MT_PRESSURE, | ||
| 2061 | 0, 255, 0, 0); | ||
| 2062 | } | ||
| 2063 | |||
| 2064 | if (data->multitouch == MXT_TOUCH_MULTITOUCHSCREEN_T100 && | ||
| 2065 | data->t100_aux_vect) { | 2059 | data->t100_aux_vect) { |
| 2066 | input_set_abs_params(input_dev, ABS_MT_ORIENTATION, | 2060 | input_set_abs_params(input_dev, ABS_MT_ORIENTATION, |
| 2067 | 0, 255, 0, 0); | 2061 | 0, 255, 0, 0); |
