linux/include
Greg Kroah-Hartman f83baa0cb6 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 <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org
Cc: stable@vger.kernel.org
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20211201183503.2373082-1-gregkh@linuxfoundation.org
2021-12-02 15:35:57 +01:00
..
acpi ACPI updates for 5.16-rc1 2021-11-02 15:58:39 -07:00
asm-generic Driver core changes for 5.16-rc1 2021-11-04 08:32:38 -07:00
clocksource ARM: 2021-11-02 11:24:14 -07:00
crypto crypto: ecc - Export additional helper functions 2021-10-29 21:04:03 +08:00
drm drm: Update MST First Link Slot Information Based on Encoding Format 2021-10-25 21:21:07 -04:00
dt-bindings Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2021-11-05 08:31:51 -07:00
keys
kunit kunit: fix kernel-doc warnings due to mismatched arg names 2021-10-06 17:54:07 -06:00
kvm
linux HID: add hid_is_usb() function to make it simpler for USB detection 2021-12-02 15:35:57 +01:00
math-emu
media media: v4l2-dev.h: move open brace after struct video_device 2021-10-05 09:37:21 +02:00
memory memory: renesas-rpc-if: Correct QSPI data transfer in Manual mode 2021-09-28 12:32:19 +02:00
misc
net Revert "net: avoid double accounting for pure zerocopy skbs" 2021-11-01 22:26:08 -07:00
pcmcia
ras
rdma RDMA/hns: Use the core code to manage the fixed mmap entries 2021-10-29 14:07:31 -03:00
scsi overflow updates for v5.16-rc1 2021-11-01 17:12:56 -07:00
soc ARM: SoC drivers for 5.16 2021-11-03 17:00:52 -07:00
sound ASoC: Updates for v5.16 2021-11-01 16:58:27 +01:00
target
trace Core: 2021-11-02 06:20:58 -07:00
uapi Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
vdso
video
xen xen/privcmd: drop "pages" parameter from xen_remap_pfn() 2021-10-05 08:20:27 +02:00