dm: core: Add a way to iterate through children, probing each
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:48 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:45 +0000 (19:33 -0700)
commit903e83ee84649c1a70bfd8b9ec84dacb8c24e7cb
tree3b22285081f2921225d80a4c7437bf618335262a
parentf262d4ca4b2bf8a99acb37c6151c54cd80251566
dm: core: Add a way to iterate through children, probing each

It is sometimes useful to process all children, making sure they are
probed first. Add functions to help with this and a macro to make it more
convenient.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
include/dm/device.h
test/dm/test-fdt.c