summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/gpio-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-02 09:16:08 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-02 23:15:19 +0100
commit7f52ba7791a35a8e13a3be992fc98da66e68b77d (patch)
tree601b53f79ef9515e6cfae40eff5d9ae59ed74267 /drivers/regulator/gpio-regulator.c
parent42ff943148f78d6d60d345a52c7cfc6ae3bdf1cf (diff)
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/regulator/gpio-regulator.c')
0 files changed, 0 insertions, 0 deletions