linux/drivers/usb/isp1760
Vincent Mailhol 61ef1709ee usb: isp1760: remove redundant max_packet() macro
The function usb_endpoint_maxp() (called by usb_maxpacket()) already
does the sanitazation of the USB endpoint max packet size. The call to
max_packet() does the same thing and is thus removed.

The macro max_packet() not being used anymore also gets removed.

Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/r/20220306075524.706660-3-mailhol.vincent@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-15 18:24:02 +01:00
..
isp1760-core.c usb: isp1760: otg control register access 2021-08-27 16:11:39 +02:00
isp1760-core.h usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
isp1760-hcd.c usb: isp1760: remove redundant max_packet() macro 2022-03-15 18:24:02 +01:00
isp1760-hcd.h usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
isp1760-if.c usb: isp1760: Use platform_get_irq() to get the interrupt 2021-12-21 08:51:57 +01:00
isp1760-regs.h usb: isp1760: otg control register access 2021-08-27 16:11:39 +02:00
isp1760-udc.c usb: isp1760: use the right irq status bit 2021-08-27 16:11:39 +02:00
isp1760-udc.h usb: isp1763: add peripheral mode 2021-05-21 20:05:32 +02:00
Kconfig usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
Makefile USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00