diff options
author | Simon Glass <sjg@chromium.org> | 2022-09-06 20:27:13 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-29 16:11:14 -0400 |
commit | 4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3 (patch) | |
tree | 158b63a4856dcbbc592316a07694704c1b7a4d41 /test | |
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 'test')
-rw-r--r-- | test/dm/ofread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/ofread.c b/test/dm/ofread.c index 8c7dd82513..95a24c3f42 100644 --- a/test/dm/ofread.c +++ b/test/dm/ofread.c @@ -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) { |