]> git.dujemihanovic.xyz Git - u-boot.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)
commit52ad21aa2cc55f53da19436f457a8590abf0d125
tree30846bc4e1f2d41259d9e9e39b238ba93bd19e9b
parentf46ec93ed593e7a442629a2a56fd541debc41329
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