Input: evdev - switch matching to EV_SYN
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 18 Feb 2025 23:09:21 +0000 (15:09 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 2 Jul 2025 04:02:57 +0000 (21:02 -0700)
commit84060ea3e0b6294abde57b85502ccf9fa65f94de
tree188aa1385d05f01fb4572134da63e02842df37d7
parenta8353b632eb0fa95fe89086e0ac83e550d3c2c42
Input: evdev - switch matching to EV_SYN

Each input device has EV_SYN capability. This is enforced by the input
core which sets this capability bit unconditionally in
input_register_device().

Switch evdev matching from declaring non-zero id->driver_info to match
on EV_SYN so that special handling can be removed from
input_match_device() and "driver_info" field can be removed from
input_device_id structure.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/evdev.c