summaryrefslogtreecommitdiff
path: root/drivers/core/read.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-06 20:27:13 -0600
committerTom Rini <trini@konsulko.com>2022-09-29 16:11:14 -0400
commit4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3 (patch)
tree158b63a4856dcbbc592316a07694704c1b7a4d41 /drivers/core/read.c
parent1701359f752b9622752df6a6c6a1326c225a5616 (diff)
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 'drivers/core/read.c')
-rw-r--r--drivers/core/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/core/read.c b/drivers/core/read.c
index 07ab8ab41c6..df298d50cd9 100644
--- a/drivers/core/read.c
+++ b/drivers/core/read.c
@@ -287,12 +287,12 @@ const void *dev_read_prop(const struct udevice *dev, const char *propname,
int dev_read_first_prop(const struct udevice *dev, struct ofprop *prop)
{
- return ofnode_get_first_property(dev_ofnode(dev), prop);
+ return ofnode_first_property(dev_ofnode(dev), prop);
}
int dev_read_next_prop(struct ofprop *prop)
{
- return ofnode_get_next_property(prop);
+ return ofnode_next_property(prop);
}
const void *dev_read_prop_by_prop(struct ofprop *prop,