diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-08-16 08:26:02 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-28 22:00:28 +0400 |
commit | 7305608bc888271786e38aa27e63f846367ae842 (patch) | |
tree | 30ebe6fc1e2452b298ea6a5f8e568690d76cb0f1 /virt/kvm/kvm_main.c | |
parent | 8f52a5800ab8f47a9bc430e21d5af84b6c290423 (diff) | |
download | linux-7305608bc888271786e38aa27e63f846367ae842.tar.xz |
regulator: max8907: Fix n_voltages for MAX8907B SD1
For linear voltage mapping, the n_voltages is (max - min) / step + 1
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions