summaryrefslogtreecommitdiffstats
path: root/drivers/mca
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-02 03:16:08 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-03 00:15:19 +0200
commit7f52ba7791a35a8e13a3be992fc98da66e68b77d (patch)
tree601b53f79ef9515e6cfae40eff5d9ae59ed74267 /drivers/mca
parentregulator: Set list_voltage callback for max8925 (diff)
downloadlinux-7f52ba7791a35a8e13a3be992fc98da66e68b77d.tar.xz
linux-7f52ba7791a35a8e13a3be992fc98da66e68b77d.zip
regulator: Add missing n_voltages setting for max8925
The n_voltages are the same for all regulators: (max - min / step) + 1 == 64. The vol_shift is always 0, and the vol_nbits is always the same as n_voltages setting. Thus we can remove vol_shitf and vol_nbits fields from struct max8925_regulator_info. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/mca')
0 files changed, 0 insertions, 0 deletions