regulator: pv88060: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Thu, 28 Feb 2019 13:40:19 +0000 (21:40 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 3 Mar 2019 23:59:20 +0000 (23:59 +0000)
commit9a5b3e5b2f43e726afe3a628682f866d5cebb25f
tree55070025c747c1c215a3663da70fdd2a6be65b41
parent1aad9f2f79e0e09f3ecdf6787df6021ab3941ce9
regulator: pv88060: 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/pv88060-regulator.c