diff options
author | Kerem Karabay <[email protected]> | 2024-07-05 11:17:42 +0000 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2024-08-02 12:42:23 +0200 |
commit | 6edb8cd87cca5dd4389d4ea2d84b66ea94341bbd (patch) | |
tree | 80d6ee0630e7da4ee8ca454a0cb66046e69f21c4 /scripts/gdb/linux/interrupts.py | |
parent | 6b5faec9f564ea627c66064a4a6a5904fe5a07dd (diff) |
HID: core: add helper for finding a field with a certain usage
This helper will allow HID drivers to easily determine if they should
bind to a hid_device by checking for the prescence of a certain field
when its ID is not enough, which can be the case on USB devices with
multiple interfaces and/or configurations.
Convert google-hammer driver to use it, and remove now superfluous
hammer_has_usage().
[[email protected]: expand changelog with the information about
google-hammer being added as user of this API ]
Signed-off-by: Kerem Karabay <[email protected]>
Signed-off-by: Aditya Garg <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions