commit | 7f52ba7791a35a8e13a3be992fc98da66e68b77d | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Mon Apr 02 09:16:08 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Apr 02 23:15:19 2012 +0100 |
tree | 601b53f79ef9515e6cfae40eff5d9ae59ed74267 | |
parent | 42ff943148f78d6d60d345a52c7cfc6ae3bdf1cf [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>