diff options
author | 2020-04-28 16:22:51 +0200 | |
---|---|---|
committer | 2020-05-06 11:40:03 +0200 | |
commit | 4bc43a421218b6cebc7c926fea001b166ea3677c (patch) | |
tree | 668145e6f37ed193213e626fc42ae4d5e52a4347 /scripts/bpf_helpers_doc.py | |
parent | HID: asus: Simplify skipping of mappings for Asus T100CHI keyboard-dock (diff) | |
download | linux-dev-4bc43a421218b6cebc7c926fea001b166ea3677c.tar.xz linux-dev-4bc43a421218b6cebc7c926fea001b166ea3677c.zip |
HID: asus: Add hid_is_using_ll_driver(usb_hid_driver) check
Add a hid_is_using_ll_driver(usb_hid_driver) check to ensure that the
parent device is an usb_interface, before casting the parent device
pointer to an usb_interface pointer with to_usb_interface().
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions