regulator: max77693: Use core code for charger's is_enabled
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Wed, 29 Apr 2015 10:58:28 +0000 (19:58 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 29 Apr 2015 11:01:17 +0000 (12:01 +0100)
commit39d23308668dc6edda39b9f4119a4127b77859cc
tree6eec3d0f581846d8cac1644069b7370c19dee767
parentb787f68c36d49bb1d9236f403813641efa74a031
regulator: max77693: Use core code for charger's is_enabled

The custom implementation of 'regulator_ops.is_enabled' callback for
charger regulator is exactly the same as regulator_is_enabled_regmap()
with 'enable_val' set.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77693.c