diff options
author | Simon Glass <sjg@chromium.org> | 2022-09-07 05:27:13 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-29 23:11:14 +0300 |
commit | 4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3 (patch) | |
tree | 158b63a4856dcbbc592316a07694704c1b7a4d41 /include/dm/read.h | |
parent | 1701359f752b9622752df6a6c6a1326c225a5616 (diff) | |
download | u-boot-4b1f5714658e98f55e9dbae58fd5000f9a3fcbd3.tar.xz |
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 'include/dm/read.h')
-rw-r--r-- | include/dm/read.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dm/read.h b/include/dm/read.h index 122b9cd15b..519c156e1c 100644 --- a/include/dm/read.h +++ b/include/dm/read.h @@ -569,7 +569,7 @@ const void *dev_read_prop(const struct udevice *dev, const char *propname, int dev_read_first_prop(const struct udevice *dev, struct ofprop *prop); /** - * ofnode_get_next_property() - get the reference of the next property + * ofnode_next_property() - get the reference of the next property * * Get reference to the next property of the node, it is used to iterate * and read all the property with dev_read_prop_by_prop(). @@ -1079,12 +1079,12 @@ static inline const void *dev_read_prop(const struct udevice *dev, static inline 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); } static inline int dev_read_next_prop(struct ofprop *prop) { - return ofnode_get_next_property(prop); + return ofnode_next_property(prop); } static inline const void *dev_read_prop_by_prop(struct ofprop *prop, |