[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
@@ -176,7 +176,7 @@ static int wf_lm75_attach(struct i2c_adapter *adapter)
|
||||
for (dev = NULL;
|
||||
(dev = of_get_next_child(busnode, dev)) != NULL;) {
|
||||
const char *loc =
|
||||
get_property(dev, "hwsensor-location", NULL);
|
||||
of_get_property(dev, "hwsensor-location", NULL);
|
||||
u8 addr;
|
||||
|
||||
/* We must re-match the adapter in order to properly check
|
||||
|
Reference in New Issue
Block a user