OSDN Git Service

regulator: max77843: Convert to use regulator_is_enabled_regmap
authorAxel Lin <axel.lin@ingics.com>
Fri, 1 May 2015 06:17:21 +0000 (14:17 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2015 14:07:32 +0000 (15:07 +0100)
commit6986f44c4c339fc9646a01f5eb296cba7c4efde7
treedc33f6c366fbfdea2b09280b7b39d9488995bf9e
parentb7c960d5d00412cd8deb08087279287fe12c535b
regulator: max77843: Convert to use regulator_is_enabled_regmap

Use regulator_is_enabled_regmap() to replace max77843_reg_is_enabled().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77843.c