summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/smartreflex-class3.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-07-16 03:05:12 +0400
committerKevin Hilman <khilman@ti.com>2011-09-15 23:09:21 +0400
commitd5c128289f5066a7c6bf27d6ba27a6ae425be757 (patch)
tree72883f94d68b8ae1a4942c2b3bed98a48d5e7e64 /arch/arm/mach-omap2/smartreflex-class3.c
parente32778804930ed3141ffc55242d88e086d71ac24 (diff)
downloadlinux-d5c128289f5066a7c6bf27d6ba27a6ae425be757.tar.xz
OMAP3+: voltage: rename omap_voltage_get_nom_volt -> voltdm_get_voltage
Use preferred voltdm_ naming for getting current nominal voltage. No functional changes. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/smartreflex-class3.c')
-rw-r--r--arch/arm/mach-omap2/smartreflex-class3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/smartreflex-class3.c b/arch/arm/mach-omap2/smartreflex-class3.c
index 4eac1bc6de22..53d9d0a5b39d 100644
--- a/arch/arm/mach-omap2/smartreflex-class3.c
+++ b/arch/arm/mach-omap2/smartreflex-class3.c
@@ -15,7 +15,7 @@
static int sr_class3_enable(struct voltagedomain *voltdm)
{
- unsigned long volt = omap_voltage_get_nom_volt(voltdm);
+ unsigned long volt = voltdm_get_voltage(voltdm);
if (!volt) {
pr_warning("%s: Curr voltage unknown. Cannot enable sr_%s\n",