gpio: Break out code to get a descriptor from a DT node
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 29 Dec 2017 01:07:54 +0000 (02:07 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 12 Jan 2018 10:05:18 +0000 (11:05 +0100)
commit6392cca42de603d49c2d929c838c92801d4ee761
treefa70a00049c700d6ac8f7ce03ba95c3dce0b9784
parent6a537d48461deacc57c07ed86d9915e5aa4b3539
gpio: Break out code to get a descriptor from a DT node

Sometimes a GPIO needs to be taken from a node without
a device associated with it. The fwnode accessor does this,
let's however break out the DT code for now.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c