[PATCH 1/6] usb: gadget: Inline usb_add_gadget_udc_release

Mattijs Korpershoek mkorpershoek at baylibre.com
Tue Sep 10 10:27:12 CEST 2024


Hi,

On Mon, 26 Aug 2024 16:38:36 +0200, Marek Vasut wrote:
> The release parameter of usb_add_gadget_udc_release() is never used.
> The function is never called from anywhere except from a wrapper in
> udc-core.c . Inline the function into the wrapper.
> 
> 

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)

[1/6] usb: gadget: Inline usb_add_gadget_udc_release
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/188b26ea92f86b527f39ab66b38771a13fd67c7a
[2/6] usb: gadget: Drop usb_udc_release()
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/1ef703d73dbb5cf524045bdb34226a86b4ab0680
[3/6] usb: gadget: Track driver data as part of struct usb_gadget
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/534a3e8c1a067daf31f290acfbafdd0c407d28ad
[4/6] usb: gadget: Drop dev_to_usb_gadget()
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/1d030ba01de4ed7c2ae08301a00453c937df3cce
[5/6] usb: gadget: dwc2: Drop get/set_udc_gadget_private_data()
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a765f5d6b4982202a42905db27f609365a47852e
[6/6] usb: gadget: Pass struct udevice to usb_add_gadget_udc()
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/75c142c73242d91b0ea9670d3b7b891216351749

--
Mattijs


More information about the U-Boot mailing list