]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: usb: udc: Factor out plain udevice handler functions
authorMarek Vasut <marex@denx.de>
Fri, 1 Sep 2023 09:49:47 +0000 (11:49 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 15 Sep 2023 21:38:01 +0000 (23:38 +0200)
commita1fa8bbb90f4ee6da98bd14542a5170998c00444
tree37057e9a55f7b28a0c12b36921e15efed1e038c3
parent2fe4b54556ea6271237b35de68dc458bfceab94c
dm: usb: udc: Factor out plain udevice handler functions

Pull the functionality of UDC uclass that operates on plain udevice
and does not use this dev_array array into separate functions and
expose those functions, so that as much code as possible can be
switched over to these functions and the dev_array can be dropped.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Marek Vasut <marex@denx.de>
drivers/usb/gadget/udc/Makefile
drivers/usb/gadget/udc/udc-uclass.c
include/linux/usb/gadget.h