regulator: palmas: use regulator_regmap for external regulator ops
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 4 Sep 2013 14:09:25 +0000 (19:09 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Tue, 17 Sep 2013 00:40:48 +0000 (17:40 -0700)
commit34672b016754090bcaf8e4223fd943cb03a5cebf
tree70b90f6019eef27cc23fed397384eae8e084acc5
parent65aaaf042821f04355a114e7e9d561378a08a0d1
regulator: palmas: use regulator_regmap for external regulator ops

Use generic regulator regmap api for the external regulator
operation to enable/disable/is_enable. This removes the code
from driver and make code simple.

Change-Id: Idfd70bea1fd1cafa3c6ccf95692b9a8490c6e7f1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/270705
drivers/regulator/palmas-regulator.c