aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/voltagedomains44xx_data.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-04-04 16:02:28 -0700
committerKevin Hilman <khilman@ti.com>2011-09-15 12:09:07 -0700
commit0ec3041e91cf365a76c81b224e85d3c2574fec23 (patch)
tree659b8817abe6399b008cdcbd5425d5fce0358204 /arch/arm/mach-omap2/voltagedomains44xx_data.c
parentOMAP3+: voltage: remove unneeded debugfs interface (diff)
downloadlinux-dev-0ec3041e91cf365a76c81b224e85d3c2574fec23.tar.xz
linux-dev-0ec3041e91cf365a76c81b224e85d3c2574fec23.zip
OMAP3+: VP: struct omap_vp_common: replace shift with __ffs(mask)
In struct omap_vp_common, the shift value can be derived from the mask value by using __ffs(), so remove the shift value for the various VPCONFIG bitfields, and use __ffs() in the code for the shift value. While here, rename field names in kerneldoc comment to match actual field names in structure. Also, cleanup indendentaion for other VP register accesses in omap_vp_init(). No functional changes. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/voltagedomains44xx_data.c')
0 files changed, 0 insertions, 0 deletions