OpenCloudOS-Kernel/include
Greg Kroah-Hartman 8c8e51fb23 HID: add hid_is_usb() function to make it simpler for USB detection
commit f83baa0cb6 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: samuelliao <samuelliao@tencent.com>
2024-06-11 20:41:28 +08:00
..
acpi ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
asm-generic ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
clocksource clocksource/drivers/hyperv: Enable TSC page clocksource on 32bit 2019-08-23 16:59:54 +02:00
crypto ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
drm ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
dt-bindings tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
keys ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
kvm KVM: arm/arm64: vgic: Use a single IO device per redistributor 2019-08-25 11:02:52 +01:00
linux HID: add hid_is_usb() function to make it simpler for USB detection 2024-06-11 20:41:28 +08:00
math-emu nds32: Mark expected switch fall-throughs 2019-08-29 11:06:56 -05:00
media ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
misc auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay 2019-08-08 19:59:17 +02:00
net ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
pcmcia
ras
rdma ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
scsi ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
soc ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
sound ALSA: pcm: Fix races among concurrent hw_params and hw_free calls 2024-06-11 20:41:27 +08:00
target ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
trace ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
uapi serial driver support for Phytium desktop and embedded CPUs 2024-06-11 20:40:53 +08:00
vdso
video fbdev: da8xx: remove panel_power_ctrl() callback from platform data 2019-08-26 17:53:58 +05:30
xen ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00