regulator: da9210: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Thu, 28 Feb 2019 13:40:15 +0000 (21:40 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 3 Mar 2019 23:46:25 +0000 (23:46 +0000)
commit8b3216c40136a3d6594edeec56e6ef1910709432
tree5f095bbb420fb1c76ef7a72637c3fcb62383210b
parent941666e29831010c7375ac9e7622f64b128153fe
regulator: da9210: 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/da9210-regulator.c