linux/drivers/usb/c67x00
Vincent Mailhol dcd2e49b55 usb: 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: Duncan Sands <duncan.sands@free.fr>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Olav Kongas <ok@artecdesign.ee>
CC: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/r/20220317035514.6378-7-mailhol.vincent@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-23 10:33:53 +02:00
..
c67x00-drv.c USB: c67x00: Remove redundant license text 2017-11-07 15:45:02 +01:00
c67x00-hcd.c usb: c67x00: c67x00-hcd: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-15 17:25:57 +02:00
c67x00-hcd.h usb/c67x00: Replace tasklet with work 2021-01-26 18:36:37 +01:00
c67x00-ll-hpi.c usb: c67x00: c67x00-ll-hpi: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-03 10:18:40 +02:00
c67x00-sched.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
c67x00.h USB: c67x00: Use the correct style for SPDX License Identifier 2020-03-17 20:03:28 +01:00
Makefile USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00