regulator: lp873x: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Thu, 28 Feb 2019 13:40:17 +0000 (21:40 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 3 Mar 2019 23:47:06 +0000 (23:47 +0000)
commitbe6230c3198b61e0b0bb1fc843a42a2e5546da36
tree59e267c9283c2c7d2d1b2c71e54194562e1ce934
parent8918f068070010928b9a0ae85a9453936dba29a9
regulator: lp873x: 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/lp873x-regulator.c