Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: remove special handling of id->driver_info when matching

evdev has switched to match on EV_SYN instead of relying on non-zero
driver_info field to allow matching to all devices. Remove special
handling from input core.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+1 -1
+1 -1
drivers/input/input.c
··· 971 971 { 972 972 const struct input_device_id *id; 973 973 974 - for (id = handler->id_table; id->flags || id->driver_info; id++) { 974 + for (id = handler->id_table; id->flags; id++) { 975 975 if (input_match_device_id(dev, id) && 976 976 (!handler->match || handler->match(handler, dev))) { 977 977 return id;