regulator: as3722: Fix off-by-one n_voltages setting for SDx
authorAxel Lin <axel.lin@ingics.com>
Wed, 2 Oct 2013 12:49:29 +0000 (20:49 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 3 Oct 2013 15:49:34 +0000 (16:49 +0100)
AS3722_SDx_VSEL_MAX means the maximum selecter, the n_voltages should be
AS3722_SDx_VSEL_MAX + 1.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found