OSDN Git Service

regulator: pv88090: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Thu, 28 Feb 2019 13:40:21 +0000 (21:40 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Mar 2019 00:00:06 +0000 (00:00 +0000)
commitf4afd05ed6b6ccec43d347d822676332777fc32f
tree51f328246cb66078acb8a5aeabff776a5391a32e
parent989a99bc64e8f905b8b5908149f20f9d79510957
regulator: pv88090: 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/pv88090-regulator.c