commit | d7a261c2d1f233260c48651b4e68987ce1206139 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon May 14 10:06:29 2018 +0200 |
committer | Mark Brown <broonie@kernel.org> | Thu May 24 16:50:36 2018 +0100 |
tree | 5d5cd25af4d10d2d180c7736dd507e03108438d9 | |
parent | 2468f0d51548b23507ceb3bba5f4e3acaea117ba [diff] |
regulator: max8952: Pass descriptor instead of GPIO number Instead of passing a global GPIO number for the enable GPIO, pass a descriptor looked up with the standard devm_gpiod_get_optional() call. All users of this regulator use device tree so the transition is pretty smooth. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>