diff options
author | Kevin Hilman <khilman@ti.com> | 2011-07-15 19:05:12 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-09-15 15:09:21 -0400 |
commit | d5c128289f5066a7c6bf27d6ba27a6ae425be757 (patch) | |
tree | 72883f94d68b8ae1a4942c2b3bed98a48d5e7e64 /arch/arm/mach-omap2/smartreflex-class3.c | |
parent | e32778804930ed3141ffc55242d88e086d71ac24 (diff) |
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.c | 2 |
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 @@ | |||
15 | 15 | ||
16 | static int sr_class3_enable(struct voltagedomain *voltdm) | 16 | static int sr_class3_enable(struct voltagedomain *voltdm) |
17 | { | 17 | { |
18 | unsigned long volt = omap_voltage_get_nom_volt(voltdm); | 18 | unsigned long volt = voltdm_get_voltage(voltdm); |
19 | 19 | ||
20 | if (!volt) { | 20 | if (!volt) { |
21 | pr_warning("%s: Curr voltage unknown. Cannot enable sr_%s\n", | 21 | pr_warning("%s: Curr voltage unknown. Cannot enable sr_%s\n", |