diff options
author | Boris Brezillon <[email protected]> | 2017-02-02 14:53:11 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2017-02-04 21:28:51 +0100 |
commit | 537b94dafce29af6a3e923d216472cfc2f3659af (patch) | |
tree | 358e78fe44033fb00490111fea7b873ef16ce0f5 /lib/netdev-notifier-error-inject.c | |
parent | 4b0947974e593d52aace18ca5c7e2746fdebae60 (diff) |
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions