[POWERPC] Rename get_property to of_get_property: drivers

These are all the remaining instances of get_property.  Simple rename of
get_property to of_get_property.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Stephen Rothwell
2007-05-01 13:54:02 +10:00
committed by Paul Mackerras
parent 9f9a3b8a06
commit 40cd3a4564
33 changed files with 87 additions and 85 deletions

View File

@@ -162,11 +162,11 @@ static void gather_partition_info(void)
return;
}
ppartition_name = get_property(rootdn, "ibm,partition-name", NULL);
ppartition_name = of_get_property(rootdn, "ibm,partition-name", NULL);
if (ppartition_name)
strncpy(partition_name, ppartition_name,
sizeof(partition_name));
p_number_ptr = get_property(rootdn, "ibm,partition-no", NULL);
p_number_ptr = of_get_property(rootdn, "ibm,partition-no", NULL);
if (p_number_ptr)
partition_number = *p_number_ptr;
of_node_put(rootdn);