regulator: wm831x-isink: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Tue, 12 Mar 2019 16:33:56 +0000 (00:33 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 13 Mar 2019 15:13:59 +0000 (15:13 +0000)
commitd48acfd0377f901f348b6c48bdcc03723f19d9e7
tree93aa370cc6882e7b16dadd21a4ebd6b478a623bb
parent5816df2f75f52f74b6fe48b1b20579acd4dfe8fb
regulator: wm831x-isink: 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/mfd/wm831x-core.c
drivers/regulator/wm831x-isink.c
include/linux/mfd/wm831x/regulator.h