regulator: da9211: Pass descriptors instead of GPIO numbers
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Feb 2018 13:17:02 +0000 (14:17 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 16 Feb 2018 17:05:52 +0000 (17:05 +0000)
commit11da04af0d3b4c24ab057dd17f54dbc854d735de
tree64b2dac11d0b4be9115cfe271a497f5ef436b1af
parent8d05560d1d011e5a842556efdbd70cc8a21499bb
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>
drivers/regulator/da9211-regulator.c
include/linux/regulator/da9211.h