projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84060ea
)
Input: remove special handling of id->driver_info when matching
author
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 19 Feb 2025 17:14:23 +0000
(09:14 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 2 Jul 2025 04:02:58 +0000
(21:02 -0700)
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>
drivers/input/input.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index ec4346f20efdd00395777de80d95318865148e4d..abd2725263030f2072950dc49723bafc91f9e7f2 100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-971,7
+971,7
@@
static const struct input_device_id *input_match_device(struct input_handler *ha
{
const struct input_device_id *id;
- for (id = handler->id_table; id->flags
|| id->driver_info
; id++) {
+ for (id = handler->id_table; id->flags; id++) {
if (input_match_device_id(dev, id) &&
(!handler->match || handler->match(handler, dev))) {
return id;