regulator: da9063: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Mon, 4 Mar 2019 13:16:03 +0000 (21:16 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 12:12:29 +0000 (12:12 +0000)
commit5b1f537e49830321a23d1c72f9f6e925ce3a672e
tree4b9c05abdb64d99ee2aadd649e566087c21cbf7d
parent958e9b8265c7efca1ba8b61115f23bea319df212
regulator: da9063: 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/da9063-regulator.c