diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-27 13:41:15 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-27 15:51:56 +1000 |
commit | 01b2726dd11ef198ac6cf8f88974b4427d40ffdb (patch) | |
tree | 55d37172978ce18678e381b0388e51c93e911565 /drivers/macintosh/windfarm_smu_sensors.c | |
parent | a48141db68e4b9143759435badcc1a49d9022db4 (diff) | |
download | linux-01b2726dd11ef198ac6cf8f88974b4427d40ffdb.tar.bz2 |
[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>
Diffstat (limited to 'drivers/macintosh/windfarm_smu_sensors.c')
-rw-r--r-- | drivers/macintosh/windfarm_smu_sensors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/macintosh/windfarm_smu_sensors.c b/drivers/macintosh/windfarm_smu_sensors.c index 01b4c50143dd..9c567b93f417 100644 --- a/drivers/macintosh/windfarm_smu_sensors.c +++ b/drivers/macintosh/windfarm_smu_sensors.c @@ -204,8 +204,8 @@ static struct smu_ad_sensor *smu_ads_create(struct device_node *node) ads = kmalloc(sizeof(struct smu_ad_sensor), GFP_KERNEL); if (ads == NULL) return NULL; - c = get_property(node, "device_type", NULL); - l = get_property(node, "location", NULL); + c = of_get_property(node, "device_type", NULL); + l = of_get_property(node, "location", NULL); if (c == NULL || l == NULL) goto fail; @@ -255,7 +255,7 @@ static struct smu_ad_sensor *smu_ads_create(struct device_node *node) } else goto fail; - v = get_property(node, "reg", NULL); + v = of_get_property(node, "reg", NULL); if (v == NULL) goto fail; ads->reg = *v; |