Revert "[POWERPC] Rename get_property to of_get_property: drivers"

This reverts commit d05c7a80cf,
which included changes which should go via other subsystem
maintainers.
This commit is contained in:
Paul Mackerras
2007-04-26 22:24:31 +10:00
parent 0999ed7f57
commit a48141db68
50 changed files with 120 additions and 122 deletions

View File

@@ -167,7 +167,7 @@ static struct smu_fan_control *smu_fan_create(struct device_node *node,
if (fct == NULL)
return NULL;
fct->ctrl.ops = &smu_fan_ops;
l = of_get_property(node, "location", NULL);
l = get_property(node, "location", NULL);
if (l == NULL)
goto fail;
@@ -224,17 +224,17 @@ static struct smu_fan_control *smu_fan_create(struct device_node *node,
goto fail;
/* Get min & max values*/
v = of_get_property(node, "min-value", NULL);
v = get_property(node, "min-value", NULL);
if (v == NULL)
goto fail;
fct->min = *v;
v = of_get_property(node, "max-value", NULL);
v = get_property(node, "max-value", NULL);
if (v == NULL)
goto fail;
fct->max = *v;
/* Get "reg" value */
reg = of_get_property(node, "reg", NULL);
reg = get_property(node, "reg", NULL);
if (reg == NULL)
goto fail;
fct->reg = *reg;