dm: usb: Split hub detection into its own function
Split out the hub detection logic so it can be used by driver model. Also adjust the code to return errors correctly. Signed-off-by:Simon Glass <sjg@chromium.org> Reviewed-by:
Marek Vasut <marex@denx.de>
Please register or sign in to comment