Revert "dm: usb: Use device_unbind_children to clean up usb devs on stop"

This reverts commit 6cda369509.

We want to avoid having the USB stack rely on unbind.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2015-11-08 23:47:57 -07:00
parent 1b6a1dff71
commit ba94e83911

View File

@ -158,9 +158,6 @@ int usb_stop(void)
ret = device_remove(bus);
if (ret && !err)
err = ret;
ret = device_unbind_children(bus);
if (ret && !err)
err = ret;
}
#ifdef CONFIG_SANDBOX