[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:

committed by
Paul Mackerras

parent
9f9a3b8a06
commit
40cd3a4564
@@ -471,7 +471,7 @@ static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *mat
|
||||
goto out_free;
|
||||
}
|
||||
|
||||
clkprop = get_property(node, "clock-frequency", &proplen);
|
||||
clkprop = of_get_property(node, "clock-frequency", &proplen);
|
||||
if (clkprop == NULL || proplen != sizeof(int)) {
|
||||
printk(KERN_ERR "%s: can't get clock frequency, "
|
||||
"assuming 25MHz\n", node->full_name);
|
||||
|
Reference in New Issue
Block a user