regulator: palmas: Fix "enable_reg" to point to the correct reg for SMPS10
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 30 May 2013 10:25:09 +0000 (15:55 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 30 May 2013 10:55:55 +0000 (11:55 +0100)
commitf232168df0c7e7414b70ac5d8fed83086d441c0b
tree15f7a1c94475eafe741faaf55fe625cbf5dab593
parent3f4d6364084ca0525591836eba4a59f04bb85c68
regulator: palmas: Fix "enable_reg" to point to the correct reg for SMPS10

regulator_enable_regmap() uses enable_reg to enable the regulator.
But enable_reg for smps10 points to SMPS10_STATUS which is a
read-only register. Fixed the same by having enable_reg
set to SMPS10_CTRL.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
drivers/regulator/palmas-regulator.c