linux/include
Greg Kroah-Hartman ddea17081f UPSTREAM: 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
(cherry picked from commit f83baa0cb6)
Bug: 188677105
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ibfa4252d4b6501a09a997bb9efbab46fae3fd1dc
2021-12-10 12:13:05 +01:00
..
acpi ACPI: fix NULL pointer dereference 2021-08-08 09:05:23 +02:00
asm-generic This is the 5.10.60 stable release 2021-08-27 17:14:51 +02:00
clocksource clocksource/drivers/timer-ti-dm: Save and restore timer TIOCP_CFG 2021-07-14 16:56:12 +02:00
crypto crypto: shash - avoid comparing pointers to exported functions under CFI 2021-07-14 16:55:54 +02:00
drm This is the 5.10.54 stable release 2021-07-28 15:23:47 +02:00
dt-bindings This is the 5.10.50 stable release 2021-07-14 17:35:23 +02:00
keys certs: Add EFI_CERT_X509_GUID support for dbx entries 2021-06-30 08:47:30 -04:00
kunit
kvm
linux UPSTREAM: HID: add hid_is_usb() function to make it simpler for USB detection 2021-12-10 12:13:05 +01:00
math-emu
media Revert "media: subdev: disallow ioctl for saa6588/davinci" 2021-07-20 11:56:13 +02:00
memory
misc
net ANDROID: GKI: fix up abi breakage from "cfg80211: fix management registrations locking" 2021-11-06 12:02:55 +00:00
pcmcia
ras
rdma
scsi Merge tag 'android12-5.10.66_r00' into android12-5.10 2021-10-21 09:45:02 +02:00
soc This is the 5.10.65 stable release 2021-09-15 14:16:47 +02:00
sound Revert "BACKPORT: ASoC: soc-pcm: Get all BEs along DAPM path" 2021-10-26 11:13:09 +08:00
target
trace ANDROID: vendor_hooks: Add hooks for binder proc transaction 2021-12-03 12:42:11 +08:00
uapi BACKPORT: uapi: virtio_ids: add a sound device type ID from OASIS spec 2021-11-17 21:09:54 +00:00
vdso
video
xen