summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-07 05:27:13 +0300
committerTom Rini <trini@konsulko.com>2022-09-29 23:11:14 +0300
commit4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3 (patch)
tree158b63a4856dcbbc592316a07694704c1b7a4d41 /test
parent1701359f752b9622752df6a6c6a1326c225a5616 (diff)
downloadu-boot-4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3.tar.xz
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.c4
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) {