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 /drivers/core/read.c | |
parent | 4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3 (diff) |
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 'drivers/core/read.c')
-rw-r--r-- | drivers/core/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/read.c b/drivers/core/read.c index df298d50cd..3e5fea87d8 100644 --- a/drivers/core/read.c +++ b/drivers/core/read.c @@ -298,7 +298,7 @@ int dev_read_next_prop(struct ofprop *prop) const void *dev_read_prop_by_prop(struct ofprop *prop, const char **propname, int *lenp) { - return ofnode_get_property_by_prop(prop, propname, lenp); + return ofprop_get_property(prop, propname, lenp); } int dev_read_alias_seq(const struct udevice *dev, int *devnump) |