summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib-devres.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-12-06 15:43:44 +0300
committerMark Brown <broonie@kernel.org>2018-12-11 04:04:12 +0300
commitec757001c818c175e6b610e8ef80c2a25d1ed1a5 (patch)
tree21328df5ddb30b3cb9605a654a49fa18a0677327 /drivers/gpio/gpiolib-devres.c
parentd03c63dbcaa1ee570d0435a7f79c7083ffb59245 (diff)
downloadlinux-ec757001c818c175e6b610e8ef80c2a25d1ed1a5.tar.xz
gpio: Enable nonexclusive gpiods from DT nodes
This makes gpiod_get_from_of_node() respect the GPIOD_FLAGS_BIT_NONEXCLUSIVE flag which is especially nice when getting regulator GPIOs right out of device tree nodes. Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com> Fixes: b0ce7b29bfcd ("regulator/gpio: Allow nonexclusive GPIO access") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpio/gpiolib-devres.c')
0 files changed, 0 insertions, 0 deletions