]> Git Repo - u-boot.git/blobdiff - drivers/core/read.c
dm: core: Rename ofnode_get_first/next_property()
[u-boot.git] / drivers / core / read.c
index 07ab8ab41c6317f640b0b5c1d0bcab812c185f43..df298d50cd90d9c6b250e0356dd6768faebc6062 100644 (file)
@@ -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,
This page took 0.024805 seconds and 4 git commands to generate.