summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ams/ams-core.c
diff options
context:
space:
mode:
authorStephen Rothwell2007-05-01 05:54:02 +0200
committerPaul Mackerras2007-05-02 12:04:32 +0200
commit40cd3a4564ed6b7bc0279430120ca0e9b83cf486 (patch)
tree1b7b7705613d915f4f2ca2f79bec4d246171086a /drivers/hwmon/ams/ams-core.c
parent[POWERPC] get_property returns const (diff)
downloadkernel-qcow2-linux-40cd3a4564ed6b7bc0279430120ca0e9b83cf486.tar.gz
kernel-qcow2-linux-40cd3a4564ed6b7bc0279430120ca0e9b83cf486.tar.xz
kernel-qcow2-linux-40cd3a4564ed6b7bc0279430120ca0e9b83cf486.zip
[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>
Diffstat (limited to 'drivers/hwmon/ams/ams-core.c')
-rw-r--r--drivers/hwmon/ams/ams-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ams/ams-core.c b/drivers/hwmon/ams/ams-core.c
index f5ebad561412..93b963fd1293 100644
--- a/drivers/hwmon/ams/ams-core.c
+++ b/drivers/hwmon/ams/ams-core.c
@@ -144,7 +144,7 @@ int ams_sensor_attach(void)
const u32 *prop;
/* Get orientation */
- prop = get_property(ams_info.of_node, "orientation", NULL);
+ prop = of_get_property(ams_info.of_node, "orientation", NULL);
if (!prop)
return -ENODEV;
ams_info.orient1 = *prop;