diff options
author | Kevin Hilman <khilman@ti.com> | 2011-03-28 13:40:15 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-09-15 15:02:08 -0400 |
commit | 4bcc475ebd06a04e1531254c27c6cf508ef8ebf9 (patch) | |
tree | cbb34d6e8ad79e2cf6b75167d9cee4a7ef2885c2 /arch/arm/mach-omap2/vp3xxx_data.c | |
parent | 4bb73adec43bbf63d39e1c2021de0aab0c60ea34 (diff) |
OMAP3+: voltage: convert to PRM register access functions
Convert VC/VP register access to use PRM VC/VP accessor functions. In
the process, move the read/write function pointers from vdd_info into
struct voltagedomain.
No functional changes.
Additional cleanup:
- remove prm_mod field from VC/VP data structures, the PRM register
access functions know which PRM module to use.
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/vp3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/vp3xxx_data.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/vp3xxx_data.c b/arch/arm/mach-omap2/vp3xxx_data.c index 0372c1ab5672..b01d33325d52 100644 --- a/arch/arm/mach-omap2/vp3xxx_data.c +++ b/arch/arm/mach-omap2/vp3xxx_data.c | |||
@@ -37,7 +37,6 @@ static const struct omap_vp_ops omap3_vp_ops = { | |||
37 | * XXX This stuff presumably belongs in the vp3xxx.c or vp.c file. | 37 | * XXX This stuff presumably belongs in the vp3xxx.c or vp.c file. |
38 | */ | 38 | */ |
39 | static const struct omap_vp_common_data omap3_vp_common = { | 39 | static const struct omap_vp_common_data omap3_vp_common = { |
40 | .prm_mod = OMAP3430_GR_MOD, | ||
41 | .vpconfig_erroroffset_shift = OMAP3430_ERROROFFSET_SHIFT, | 40 | .vpconfig_erroroffset_shift = OMAP3430_ERROROFFSET_SHIFT, |
42 | .vpconfig_errorgain_mask = OMAP3430_ERRORGAIN_MASK, | 41 | .vpconfig_errorgain_mask = OMAP3430_ERRORGAIN_MASK, |
43 | .vpconfig_errorgain_shift = OMAP3430_ERRORGAIN_SHIFT, | 42 | .vpconfig_errorgain_shift = OMAP3430_ERRORGAIN_SHIFT, |