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

@@ -14,9 +14,9 @@ static int dm_test_ofnode_get_property_by_prop(struct unit_test_state *uts)
int res, len, count = 0;
node = ofnode_path("/cros-ec/flash");
for (res = ofnode_get_first_property(node, &prop);
for (res = ofnode_first_property(node, &prop);
!res;
res = ofnode_get_next_property(&prop)) {
res = ofnode_next_property(&prop)) {
value = ofnode_get_property_by_prop(&prop, &propname, &len);
ut_assertnonnull(value);
switch (count) {