]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b851328695d69ea3ffcb676f7ec50b4765f67d0
tree669b55aed3e29474c86cf29c3192d64593b90102
parent06c5840911a7c0a6cc4e76525d0f14411295bcbe
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