]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Add device_foreach_child()
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:55:56 +0000 (08:55 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:39 +0000 (13:57 +0800)
commit53bea27daafdc09ce8cf94dc0ad9dcffa64be2ea
treea35da1bad47f5795ad8a66b644e0de06f6ba7618
parentead9b23b00db5718a27f71243435fc91f9884817
dm: core: Add device_foreach_child()

We have a 'safe' version of this function but sometimes it is not needed.
Add a normal version too and update a few places that can use it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/arm/mach-uniphier/pinctrl-glue.c
drivers/block/blk-uclass.c
include/dm/device.h