aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-06 20:27:14 -0600
committerTom Rini <trini@konsulko.com>2022-09-29 16:11:14 -0400
commit9243224687bd92674c693546a46f849b1a54c75c (patch)
tree272469ce1632ed91fda082cf1e5cbd7f2dec8b60 /env
parent4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3 (diff)
downloadu-boot-9243224687bd92674c693546a46f849b1a54c75c.zip
u-boot-9243224687bd92674c693546a46f849b1a54c75c.tar.gz
u-boot-9243224687bd92674c693546a46f849b1a54c75c.tar.bz2
dm: core: Rename ofnode_get_property_by_prop()
The current name is quite unwieldy. Change it to use an ofprop_ prefix and shorten it. Fix the return-value comment while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env')
-rw-r--r--env/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/common.c b/env/common.c
index 4e70baa..8beb8e6 100644
--- a/env/common.c
+++ b/env/common.c
@@ -544,7 +544,7 @@ void env_import_fdt(void)
res = ofnode_next_property(&prop)) {
const char *name, *val;
- val = ofnode_get_property_by_prop(&prop, &name, NULL);
+ val = ofprop_get_property(&prop, &name, NULL);
env_set(name, val);
}
}