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 /env | |
parent | 1701359f752b9622752df6a6c6a1326c225a5616 (diff) | |
download | u-boot-4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3.tar.gz u-boot-4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3.tar.bz2 u-boot-4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3.zip |
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 'env')
-rw-r--r-- | env/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/env/common.c b/env/common.c index 8dd05ff76d..4e70baaee8 100644 --- a/env/common.c +++ b/env/common.c @@ -539,9 +539,9 @@ void env_import_fdt(void) return; } - 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)) { const char *name, *val; val = ofnode_get_property_by_prop(&prop, &name, NULL); |