regulator: wm8350: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Tue, 12 Mar 2019 16:33:57 +0000 (00:33 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 13 Mar 2019 15:14:13 +0000 (15:14 +0000)
commitdfeb7a93bf3b26e6779e0b38b25877c0540652e6
tree8a1dab78c9c610e2b8ba49a949c9fae310c3c214
parentd48acfd0377f901f348b6c48bdcc03723f19d9e7
regulator: wm8350: 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/wm8350-regulator.c