summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-06-09 11:51:05 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-06-11 16:47:34 -0700
commitc7a4fb53de365d5e9264e3fa5bdb9c0a52b6f9a0 (patch)
tree7cde104bae80dcd5155d1591371aeefeb5edda42 /drivers/input
parente70b03071c5d43ea7a63b007a1c4bf285a2772d1 (diff)
downloadop-kernel-dev-c7a4fb53de365d5e9264e3fa5bdb9c0a52b6f9a0.zip
op-kernel-dev-c7a4fb53de365d5e9264e3fa5bdb9c0a52b6f9a0.tar.gz
Input: goodix - do not explicitly set evbits in input device
input_mt_init_slots() will do that for us. Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Bastien Nocera <hadess@hadess.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/goodix.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index 73ade35..b4d12e2 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -301,10 +301,6 @@ static int goodix_request_input_dev(struct goodix_ts_data *ts, u16 version,
return -ENOMEM;
}
- ts->input_dev->evbit[0] = BIT_MASK(EV_SYN) |
- BIT_MASK(EV_KEY) |
- BIT_MASK(EV_ABS);
-
input_set_abs_params(ts->input_dev, ABS_MT_POSITION_X,
0, ts->abs_x_max, 0, 0);
input_set_abs_params(ts->input_dev, ABS_MT_POSITION_Y,
OpenPOWER on IntegriCloud