regulator: lp872x: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Thu, 28 Feb 2019 13:40:16 +0000 (21:40 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 3 Mar 2019 23:46:45 +0000 (23:46 +0000)
commit8918f068070010928b9a0ae85a9453936dba29a9
treef9269421805155fef0635f9c6ad4d6bbb20f150d
parent8b3216c40136a3d6594edeec56e6ef1910709432
regulator: lp872x: 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>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lp872x.c