diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-05-14 11:06:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-17 09:42:53 +0300 |
commit | e1739e86f0cb9c48e8745a610e6981a4e24cadad (patch) | |
tree | 7634dcc5616e9c13d6ffb89025ca9b3c2f9102af /drivers/regulator/tps80031-regulator.c | |
parent | 54557ad9737e28b06b632cce723ef2373fe6bf12 (diff) | |
download | linux-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/tps80031-regulator.c')
0 files changed, 0 insertions, 0 deletions