regulator: wm8350: correct the max_uV of LDO
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 19 Sep 2013 12:39:55 +0000 (18:09 +0530)
committerMark Brown <broonie@linaro.org>
Thu, 19 Sep 2013 13:15:57 +0000 (14:15 +0100)
commit087e35ad71aac1daab0fcd21b61da15ffe7aaec5
treeff8528f221f33c92b7ea62f18161e35b9aeb5ee4
parent272b98c6455f00884f0350f775c5342358ebb73f
regulator: wm8350: correct the max_uV of LDO

As per datasheet, voltage range for LDOs are as follows:

0000 = 0.9V
...(50mV steps)
01111 = 1.65V
10000 = 1.8V
... (100mV stepns)
11111 = 3.3V

So, there is no  selector for 1.65V to 1.8V.
Correcting the range for max_uV for selector between 0 to 15.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/wm8350-regulator.c