OSDN Git Service

regulator: lp87565: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Fri, 1 Mar 2019 06:24:32 +0000 (14:24 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 12:12:01 +0000 (12:12 +0000)
commitd0ccbe11773d39baed0cdec606ad6a008c2b19c7
treea71fc8a44e4ba667b6d4129a75f4bc2e5a5c00e5
parentd1a6cbdf1e597917cb642c655512d91b71a35d22
regulator: lp87565: 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/lp87565-regulator.c