summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pv88060-regulator.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-05-14 10:06:29 +0200
committerMark Brown <broonie@kernel.org>2018-05-24 16:50:36 +0100
commitd7a261c2d1f233260c48651b4e68987ce1206139 (patch)
tree5d5cd25af4d10d2d180c7736dd507e03108438d9 /drivers/regulator/pv88060-regulator.c
parent2468f0d51548b23507ceb3bba5f4e3acaea117ba (diff)
downloadblackbird-obmc-linux-d7a261c2d1f233260c48651b4e68987ce1206139.tar.gz
blackbird-obmc-linux-d7a261c2d1f233260c48651b4e68987ce1206139.zip
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>
Diffstat (limited to 'drivers/regulator/pv88060-regulator.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud