regulator: palmas: fix regmap offsets for enable/disable
authorGraeme Gregory <gg@slimlogic.co.uk>
Fri, 22 Jun 2012 12:36:20 +0000 (13:36 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 23 Jun 2012 10:37:28 +0000 (11:37 +0100)
commita68de074613abd028b2ce63366d18db9c29e15d2
tree38f712aaf7c83d5336978ba86a6d4ce6513428b1
parent8386a00f1443f676e8b614f654e2e324fdc0b3b3
regulator: palmas: fix regmap offsets for enable/disable

I forgot to apply the offsets for the regmap helper functions for
enable/disable on SMPS10 and the LDO regulators. This means regulators
will not enable/disable correctly.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Tested-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/palmas-regulator.c