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>
This commit is contained in:
@@ -57,7 +57,7 @@ typedef union ofnode_union {
|
||||
*
|
||||
* @node: Pointer to device node
|
||||
* @offset: Pointer into flat device tree, used for flat tree.
|
||||
* @prop: Pointer to property, used for live treee.
|
||||
* @prop: Pointer to property, used for live tree.
|
||||
*/
|
||||
|
||||
struct ofprop {
|
||||
|
||||
Reference in New Issue
Block a user