]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Add ofnode_for_each_subnode()
authorSimon Glass <sjg@chromium.org>
Sat, 5 Aug 2017 21:45:54 +0000 (15:45 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Sep 2017 03:43:58 +0000 (21:43 -0600)
commitbdb3437e343d6f16e88660166beda1a4ad0b8215
tree4e91056bedde884d7bec42bf45a32e6a1fcd01e0
parent39b22a47349c3524037dd0fe9050c7e19eec3ecb
dm: core: Add ofnode_for_each_subnode()

Add a convenience macro to iterate over subnodes of a node. Make use of
this where appropriate in the code.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-tegra/xusb-padctl-common.c
drivers/core/ofnode.c
drivers/misc/cros_ec.c
drivers/power/pmic/pmic-uclass.c
include/dm/ofnode.h