From: Dmitry Torokhov Date: Tue, 9 Jun 2015 18:51:05 +0000 (-0700) Subject: Input: goodix - do not explicitly set evbits in input device X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c7a4fb53de365d5e9264e3fa5bdb9c0a52b6f9a0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Input: goodix - do not explicitly set evbits in input device input_mt_init_slots() will do that for us. Reviewed-by: Benjamin Tissoires Acked-by: Bastien Nocera Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index 73ade35ea90f..b4d12e29abff 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,