summaryrefslogtreecommitdiff
path: root/drivers/regulator/wm8994-regulator.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-05-14 11:06:24 +0300
committerMark Brown <broonie@kernel.org>2018-05-17 09:42:53 +0300
commite1739e86f0cb9c48e8745a610e6981a4e24cadad (patch)
tree7634dcc5616e9c13d6ffb89025ca9b3c2f9102af /drivers/regulator/wm8994-regulator.c
parent54557ad9737e28b06b632cce723ef2373fe6bf12 (diff)
downloadlinux-e1739e86f0cb9c48e8745a610e6981a4e24cadad.tar.xz
regulator: arizona-ldo1: Look up a descriptor and pass to the core
Instead of passing a global GPIO number, pass a descriptor looked up with the standard devm_gpiod_get_optional() call. We have augmented the GPIO core to look up the regulator special GPIO "wlf,ldoena" in commit 6a537d48461d "gpio: of: Support regulator nonstandard GPIO properties". Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/wm8994-regulator.c')
0 files changed, 0 insertions, 0 deletions