diff options
author | Simon Glass | 2022-09-06 20:27:13 -0600 |
---|---|---|
committer | Tom Rini | 2022-09-29 16:11:14 -0400 |
commit | 4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3 (patch) | |
tree | 158b63a4856dcbbc592316a07694704c1b7a4d41 /include/dm/ofnode.h | |
parent | 1701359f752b9622752df6a6c6a1326c225a5616 (diff) |
dm: core: Rename ofnode_get_first/next_property()
Drop the 'get' in these names since it does not fit with the rest of
the API.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/ofnode.h')
-rw-r--r-- | include/dm/ofnode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h index 044546f0051..d477ef17624 100644 --- a/include/dm/ofnode.h +++ b/include/dm/ofnode.h @@ -799,7 +799,7 @@ int ofnode_decode_display_timing(ofnode node, int index, const void *ofnode_get_property(ofnode node, const char *propname, int *lenp); /** - * ofnode_get_first_property()- get the reference of the first property + * ofnode_first_property()- get the reference of the first property * * Get reference to the first property of the node, it is used to iterate * and read all the property with ofnode_get_property_by_prop(). @@ -808,10 +808,10 @@ const void *ofnode_get_property(ofnode node, const char *propname, int *lenp); * @prop: place to put argument reference * Return: 0 if OK, -ve on error. -FDT_ERR_NOTFOUND if not found */ -int ofnode_get_first_property(ofnode node, struct ofprop *prop); +int ofnode_first_property(ofnode node, struct ofprop *prop); /** - * ofnode_get_next_property() - get the reference of the next property + * ofnode_next_property() - get the reference of the next property * * Get reference to the next property of the node, it is used to iterate * and read all the property with ofnode_get_property_by_prop(). @@ -819,7 +819,7 @@ int ofnode_get_first_property(ofnode node, struct ofprop *prop); * @prop: reference of current argument and place to put reference of next one * Return: 0 if OK, -ve on error. -FDT_ERR_NOTFOUND if not found */ -int ofnode_get_next_property(struct ofprop *prop); +int ofnode_next_property(struct ofprop *prop); /** * ofnode_get_property_by_prop() - get a pointer to the value of a property |