regulator: palmas: Add has_regen3 check for TPS659038
authorKeerthy <j-keerthy@TI.COM>
Tue, 17 Mar 2015 10:26:05 +0000 (15:56 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 17 Mar 2015 12:21:15 +0000 (12:21 +0000)
commite999c7289cf2e542e8be8bc72ba5dc0f8f06c88e
tree21523f6328103682ea5349f47068c0cb82031286
parenta26aeb177d8c1c4df3e32f0a21e8dd5b45ab1fc1
regulator: palmas: Add has_regen3 check for TPS659038

Palmas driver is used to cater to even TPS659038 but TPS659038 does not have
REGEN3 resource. Adding another field in the driver data to check on that.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/palmas-regulator.c
include/linux/mfd/palmas.h