From 4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 6 Sep 2022 20:27:13 -0600 Subject: 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 --- test/dm/ofread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/dm/ofread.c b/test/dm/ofread.c index 8c7dd825136..95a24c3f42b 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) { -- cgit v1.3.1