regulator: da9062: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Mon, 4 Mar 2019 13:16:02 +0000 (21:16 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 12:12:15 +0000 (12:12 +0000)
commit958e9b8265c7efca1ba8b61115f23bea319df212
tree63907cac67d610b660d7377abf7b8008cbc1cbba
parentd0ccbe11773d39baed0cdec606ad6a008c2b19c7
regulator: da9062: Convert to use regulator_set/get_current_limit_regmap

Use regulator_set/get_current_limit_regmap helpers to save some code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Steve Twiss <stwiss@opensource.diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9062-regulator.c