diff options
author | Simon Glass <sjg@chromium.org> | 2022-09-06 20:27:14 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-29 16:11:14 -0400 |
commit | 9243224687bd92674c693546a46f849b1a54c75c (patch) | |
tree | 272469ce1632ed91fda082cf1e5cbd7f2dec8b60 /env | |
parent | 4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3 (diff) | |
download | u-boot-9243224687bd92674c693546a46f849b1a54c75c.tar.gz u-boot-9243224687bd92674c693546a46f849b1a54c75c.tar.bz2 u-boot-9243224687bd92674c693546a46f849b1a54c75c.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/common.c b/env/common.c index 4e70baaee8..8beb8e6aa4 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); } } |