diff options
author | Paul Mackerras <paulus@samba.org> | 2007-04-26 22:24:31 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-26 22:24:31 +1000 |
commit | a48141db68e4b9143759435badcc1a49d9022db4 (patch) | |
tree | a7d9e5e259c5aa44131e5d1e280f772edb5cdeb5 /drivers/macintosh/windfarm_max6690_sensor.c | |
parent | 0999ed7f57728c1919b131207e47d9b311cfbd74 (diff) | |
download | linux-stable-a48141db68e4b9143759435badcc1a49d9022db4.tar.gz linux-stable-a48141db68e4b9143759435badcc1a49d9022db4.tar.bz2 linux-stable-a48141db68e4b9143759435badcc1a49d9022db4.zip |
Revert "[POWERPC] Rename get_property to of_get_property: drivers"
This reverts commit d05c7a80cf39ae7d0f8d0c3e47c93d51fcd393d3,
which included changes which should go via other subsystem
maintainers.
Diffstat (limited to 'drivers/macintosh/windfarm_max6690_sensor.c')
-rw-r--r-- | drivers/macintosh/windfarm_max6690_sensor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/windfarm_max6690_sensor.c b/drivers/macintosh/windfarm_max6690_sensor.c index eaa74afa175b..eae1189d6c41 100644 --- a/drivers/macintosh/windfarm_max6690_sensor.c +++ b/drivers/macintosh/windfarm_max6690_sensor.c @@ -134,7 +134,7 @@ static int wf_max6690_attach(struct i2c_adapter *adapter) if (!device_is_compatible(dev, "max6690")) continue; addr = pmac_i2c_get_dev_addr(dev); - loc = of_get_property(dev, "hwsensor-location", NULL); + loc = get_property(dev, "hwsensor-location", NULL); if (loc == NULL || addr == 0) continue; printk("found max6690, loc=%s addr=0x%02x\n", loc, addr); |