aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2021-12-01 19:35:01 +0100
committerBenjamin Tissoires <[email protected]>2021-12-02 15:35:57 +0100
commitf83baa0cb6cfc92ebaf7f9d3a99d7e34f2e77a8a (patch)
treed09f59835cebb015308df8245c0dd40423aa621f /scripts/gdb/linux/utils.py
parent9003fbe0f3674b972f56fa7e6bf3ac9dbfc4d0ec (diff)
HID: add hid_is_usb() function to make it simpler for USB detection
A number of HID drivers already call hid_is_using_ll_driver() but only for the detection of if this is a USB device or not. Make this more obvious by creating hid_is_usb() and calling the function that way. Also converts the existing hid_is_using_ll_driver() functions to use the new call. Cc: Jiri Kosina <[email protected]> Cc: Benjamin Tissoires <[email protected]> Cc: [email protected] Cc: [email protected] Tested-by: Benjamin Tissoires <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions