diff options
author | Tero Kristo <t-kristo@ti.com> | 2012-09-25 18:33:34 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-11-06 00:03:47 +0100 |
commit | b254012b21e3f0dec798de8d12e3ce009d1c09e0 (patch) | |
tree | 665b29dc9234ee33709119d29ab916352bd92125 /arch/arm/mach-omap2/vp.c | |
parent | ARM: OMAP3+: PM: VP: use uV for max and min voltage limits (diff) | |
download | linux-b254012b21e3f0dec798de8d12e3ce009d1c09e0.tar.xz linux-b254012b21e3f0dec798de8d12e3ce009d1c09e0.zip |
ARM: OMAP: voltage: renamed vp_vddmin and vp_vddmax fields
These are now called vddmin and vddmax, as these fields will be used
globally for selecting voltage ranges for a pmic channel, and not
only for voltage processor.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/vp.c')
-rw-r--r-- | arch/arm/mach-omap2/vp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/vp.c b/arch/arm/mach-omap2/vp.c index 47c89eba57ca..c7e0507bfbd3 100644 --- a/arch/arm/mach-omap2/vp.c +++ b/arch/arm/mach-omap2/vp.c @@ -58,8 +58,8 @@ void __init omap_vp_init(struct voltagedomain *voltdm) sys_clk_rate = voltdm->sys_clk.rate / 1000; timeout = (sys_clk_rate * voltdm->pmic->vp_timeout_us) / 1000; - vddmin = voltdm->pmic->uv_to_vsel(voltdm->pmic->vp_vddmin); - vddmax = voltdm->pmic->uv_to_vsel(voltdm->pmic->vp_vddmax); + vddmin = voltdm->pmic->uv_to_vsel(voltdm->pmic->vddmin); + vddmax = voltdm->pmic->uv_to_vsel(voltdm->pmic->vddmax); waittime = DIV_ROUND_UP(voltdm->pmic->step_size * sys_clk_rate, 1000 * voltdm->pmic->slew_rate); |