commit | e7d2be696faa3c8add5b21006ad8fec6b6ed85f1 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon May 14 10:06:25 2018 +0200 |
committer | Mark Brown <broonie@kernel.org> | Thu May 24 16:50:25 2018 +0100 |
tree | 13a8e25768aba026af97574d41b5bf41630362f2 | |
parent | 910adc0e1bf50cc4c9eddf1d8764e6fe4055adf4 [diff] |
regulator: max8973: Pass descriptor instead of GPIO number Instead of passing a global GPIO number, pass a descriptor looked up with the standard devm_gpiod_get_optional() call. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>