summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-02-02 16:53:11 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-02-04 23:28:51 +0300
commit537b94dafce29af6a3e923d216472cfc2f3659af (patch)
tree358e78fe44033fb00490111fea7b873ef16ce0f5 /samples
parent4b0947974e593d52aace18ca5c7e2746fdebae60 (diff)
downloadlinux-537b94dafce29af6a3e923d216472cfc2f3659af.tar.xz
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 'samples')
0 files changed, 0 insertions, 0 deletions