diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-08-23 22:50:28 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-09-05 22:56:45 -0700 |
commit | a9d59c206c8c90c916acefbaf3629704bff88266 (patch) | |
tree | 800475655b979acd8b14f1d62418e836fdcf0738 /drivers/input | |
parent | f820b43754cdbd078a0d17122b281f42cbcd2155 (diff) | |
download | linux-a9d59c206c8c90c916acefbaf3629704bff88266.tar.gz linux-a9d59c206c8c90c916acefbaf3629704bff88266.tar.bz2 linux-a9d59c206c8c90c916acefbaf3629704bff88266.zip |
Input: zforce_ts - do not explicitly set EV_SYN, etc bits
Input core and various helpers already do that for us, so drop the code
setting these bits explicitly.
Tested-by: Andreas Kemnade <andreas@kemnade.info> # Tolino Shine2HD
Link: https://lore.kernel.org/r/20240824055047.1706392-5-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/zforce_ts.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c index 5a8f79b800e6..a6f6cc5d8a3f 100644 --- a/drivers/input/touchscreen/zforce_ts.c +++ b/drivers/input/touchscreen/zforce_ts.c @@ -814,10 +814,6 @@ static int zforce_probe(struct i2c_client *client) input_dev->open = zforce_input_open; input_dev->close = zforce_input_close; - __set_bit(EV_KEY, input_dev->evbit); - __set_bit(EV_SYN, input_dev->evbit); - __set_bit(EV_ABS, input_dev->evbit); - zforce_ts_parse_legacy_properties(ts); touchscreen_parse_properties(input_dev, true, &ts->prop); if (ts->prop.max_x == 0 || ts->prop.max_y == 0) { |