Files
linux/drivers
Chen Ni 48175e2e6e usb: dwc2: gadget: Use USB API functions rather than constants
Use the function usb_endpoint_type() rather than constants.
The Coccinelle semantic patch is as follows:

@@ struct usb_endpoint_descriptor *epd; @@

- (epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\))
+ usb_endpoint_type(epd)

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20250519062229.724664-1-nichen@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-21 13:13:20 +02:00
..
2025-04-22 16:06:05 +09:00
2025-04-11 17:32:38 -07:00
2025-05-08 11:56:12 +02:00
2025-04-08 19:30:58 +02:00
2025-05-06 12:59:12 -06:00
2025-04-18 10:05:49 -04:00