summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-menz127.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-02-02 14:53:11 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-02-04 21:28:51 +0100
commit537b94dafce29af6a3e923d216472cfc2f3659af (patch)
tree358e78fe44033fb00490111fea7b873ef16ce0f5 /drivers/gpio/gpio-menz127.c
parent4b0947974e593d52aace18ca5c7e2746fdebae60 (diff)
downloadlinux-537b94dafce29af6a3e923d216472cfc2f3659af.tar.gz
linux-537b94dafce29af6a3e923d216472cfc2f3659af.tar.bz2
linux-537b94dafce29af6a3e923d216472cfc2f3659af.zip
gpio: Add the devm_fwnode_get_index_gpiod_from_child() helper
devm_fwnode_get_gpiod_from_child() currently allows GPIO users to request a GPIO that is defined in a child fwnode instead of directly in the device fwnode. Extend this API by adding the devm_fwnode_get_index_gpiod_from_child() helper which does the same except you can also specify an index in case the 'xx-gpios' property describe several GPIOs. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-menz127.c')
0 files changed, 0 insertions, 0 deletions