regulator: da9211: Pass descriptors instead of GPIO numbers

This augments the DA9211 regulator driver to fetch its GPIO descriptors
directly from the device tree using the newly exported
devm_get_gpiod_from_child().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Linus Walleij 2018-02-12 14:17:02 +01:00 • committed by Mark Brown
commit 11da04af0d
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 14 additions and 13 deletions