regulator: axp20x: Fix enable bit indexes for DCDC4 and DCDC5
authorChen-Yu Tsai <wens@csie.org>
Sat, 26 Sep 2015 13:21:12 +0000 (21:21 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 29 Sep 2015 16:07:27 +0000 (17:07 +0100)
commit6b3600b4ba0810c84437cf76556d9afbd55c1bfc
treeeb11ae66fcc871a33eeb3ed29b310ebcb803cebf
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
regulator: axp20x: Fix enable bit indexes for DCDC4 and DCDC5

The enable bit indexes for DCDC4 and DCDC5 regulators are off by 1.

We haven't run into any problems with this since either the regulators
aren't defined in the DT and aren't used, or all the DCDC regulators
have the "always-on" property set, as they are almost always used
for system critical loads.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/regulator/axp20x-regulator.c