[POWERPC] Rename get_property to of_get_property: drivers
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
c4f55b3945
commit
d05c7a80cf
@@ -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