[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
@@ -1830,7 +1830,7 @@ try_host_fw:
|
||||
if (!dn)
|
||||
goto out_err;
|
||||
|
||||
fw_prop = get_property(dn, "firmware", &fw_size);
|
||||
fw_prop = of_get_property(dn, "firmware", &fw_size);
|
||||
if (!fw_prop)
|
||||
goto out_err;
|
||||
|
||||
@@ -2236,7 +2236,7 @@ spider_net_setup_netdev(struct spider_net_card *card)
|
||||
if (!dn)
|
||||
return -EIO;
|
||||
|
||||
mac = get_property(dn, "local-mac-address", NULL);
|
||||
mac = of_get_property(dn, "local-mac-address", NULL);
|
||||
if (!mac)
|
||||
return -EIO;
|
||||
memcpy(addr.sa_data, mac, ETH_ALEN);
|
||||
|
Reference in New Issue
Block a user