]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: wm831x-dcdc: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Thu, 28 Feb 2019 13:40:22 +0000 (21:40 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Mar 2019 00:00:27 +0000 (00:00 +0000)
commita7c1b399c9b9f4cdf9fa049db59cad5da5563ba3
treee2f0a40b663599d1e6c7baa892ea6c8fcc64d8e9
parent71059e12b7dbf77253df5f9f15308755e45983bb
regulator: wm831x-dcdc: 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: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/wm831x-dcdc.c