regulator: as3722: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Wed, 27 Mar 2019 01:29:46 +0000 (09:29 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 1 Apr 2019 08:19:01 +0000 (15:19 +0700)
commitce0a383db3cd8ecd3a19d051de01cc14515e5683
tree669b55aed3e29474c86cf29c3192d64593b90102
parentf979c08f762441188abb9be42689a72953efbbf7
regulator: as3722: 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: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/as3722-regulator.c