Merge tag 'xilinx-for-v2023.01-rc3' of https://source.denx.de/u-boot/custodians/u...
[platform/kernel/u-boot.git] / drivers / core / read.c
index 07ab8ab..3e5fea8 100644 (file)
@@ -287,18 +287,18 @@ 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,
                                  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)