u-boot-brain/drivers/core
Simon Glass 07d260e047 dm: core: Handle recursive unbinding of uclass devices
Since a device can have children in the same uclass as itself, we need
to handle unbinding carefully: we must allow that unbinding a device in a
uclass may cause another device in the same uclass to be unbound.

Adjust the code to cope.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Tested-by: Joe Hershberger <joe.hershberger@ni.com>
2015-04-22 11:13:17 -06:00
..
device-remove.c dm: core: Extend struct udevice by '.uclass_platdata' field. 2015-04-22 11:03:14 -06:00
device.c dm: core: device: add function: dev_get_uclass_name() 2015-04-22 11:03:15 -06:00
Kconfig kconfig: remove unneeded dependency on !SPL_BUILD 2015-02-24 17:06:27 -05:00
lists.c dm: core: Rename driver data function to dev_get_driver_data() 2015-04-18 11:11:19 -06:00
Makefile dm: Allow device removal features to be dropped 2014-11-21 08:13:02 +01:00
root.c dm: Add support for all targets which requires MANUAL_RELOC 2015-02-12 15:17:29 -07:00
simple-bus.c dm: core: Add support for simple-bus 2014-10-22 10:36:56 -06:00
uclass.c dm: core: Handle recursive unbinding of uclass devices 2015-04-22 11:13:17 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00