[POWERPC] Rename get_property to of_get_property: partial drivers
This does drivers/machintosh and the hvc code. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
a48141db68
commit
01b2726dd1
@ -491,7 +491,7 @@ int __init smu_init (void)
|
||||
printk(KERN_ERR "SMU: Can't find doorbell GPIO !\n");
|
||||
goto fail;
|
||||
}
|
||||
data = get_property(smu->db_node, "reg", NULL);
|
||||
data = of_get_property(smu->db_node, "reg", NULL);
|
||||
if (data == NULL) {
|
||||
of_node_put(smu->db_node);
|
||||
smu->db_node = NULL;
|
||||
@ -512,7 +512,7 @@ int __init smu_init (void)
|
||||
smu->msg_node = of_find_node_by_name(NULL, "smu-interrupt");
|
||||
if (smu->msg_node == NULL)
|
||||
break;
|
||||
data = get_property(smu->msg_node, "reg", NULL);
|
||||
data = of_get_property(smu->msg_node, "reg", NULL);
|
||||
if (data == NULL) {
|
||||
of_node_put(smu->msg_node);
|
||||
smu->msg_node = NULL;
|
||||
@ -1004,7 +1004,7 @@ const struct smu_sdbp_header *__smu_get_sdb_partition(int id,
|
||||
} else
|
||||
mutex_lock(&smu_part_access);
|
||||
|
||||
part = get_property(smu->of_node, pname, size);
|
||||
part = of_get_property(smu->of_node, pname, size);
|
||||
if (part == NULL) {
|
||||
DPRINTK("trying to extract from SMU ...\n");
|
||||
part = smu_create_sdb_partition(id);
|
||||
|
Reference in New Issue
Block a user