]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Add a macro to iterate through properties
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:16 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 Sep 2022 20:11:15 +0000 (16:11 -0400)
commitc6c63d67d644c9c278d84d1bedb7b97ce0bc63dd
tree30846bc4e1f2d41259d9e9e39b238ba93bd19e9b
parentae97b675a6d2cb009799fb7211b57f68c9471201
dm: core: Add a macro to iterate through properties

Add a 'for_each' macro like we have for nodes.

Fix the comment for struct ofprop while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/ofnode.h
include/dm/ofnode_decl.h
test/dm/ofnode.c