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>
This commit is contained in:
Simon Glass
2022-09-06 20:27:13 -06:00
committed by Tom Rini
parent 1701359f75
commit 4b1f571465
6 changed files with 15 additions and 15 deletions

View File

@@ -780,7 +780,7 @@ const void *ofnode_get_property(ofnode node, const char *propname, int *lenp)
propname, lenp);
}
int ofnode_get_first_property(ofnode node, struct ofprop *prop)
int ofnode_first_property(ofnode node, struct ofprop *prop)
{
prop->node = node;
@@ -799,7 +799,7 @@ int ofnode_get_first_property(ofnode node, struct ofprop *prop)
return 0;
}
int ofnode_get_next_property(struct ofprop *prop)
int ofnode_next_property(struct ofprop *prop)
{
if (ofnode_is_np(prop->node)) {
prop->prop = of_get_next_property(ofnode_to_np(prop->node),