OpenCloudOS-Kernel/drivers/hid/usbhid
Vincent Mailhol b45cde330b HID: usbhid: remove third argument of usb_maxpacket()
The third argument of usb_maxpacket(): in_out has been deprecated
because it could be derived from the second argument (e.g. using
usb_pipeout(pipe)).

N.B. function usb_maxpacket() was made variadic to accommodate the
transition from the old prototype with three arguments to the new one
with only two arguments (so that no renaming is needed). The variadic
argument is to be removed once all users of usb_maxpacket() get
migrated.

CC: Jiri Kosina <jikos@kernel.org>
CC: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/r/20220317035514.6378-3-mailhol.vincent@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-23 10:33:53 +02:00
..
Kconfig HID: Kconfig: Fix spelling mistake "Uninterruptable" -> "Uninterruptible" 2021-07-28 11:41:57 +02:00
Makefile HID: core: move the dynamic quirks handling in core 2017-11-21 11:14:48 +01:00
hid-core.c HID: usbhid: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
hid-pidff.c HID: pidff: fix error return code in hid_pidff_init() 2021-05-27 15:40:34 +02:00
hiddev.c HID: hiddev: Return specific error codes on connect failure 2021-03-08 11:12:22 +01:00
usbhid.h Revert "HID: usbhid: do not sleep when opening device" 2020-08-18 19:54:04 +02:00
usbkbd.c HID: usbhid: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
usbmouse.c HID: usbhid: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00