diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-02-02 14:53:11 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-02-04 21:28:51 +0100 |
commit | 537b94dafce29af6a3e923d216472cfc2f3659af (patch) | |
tree | 358e78fe44033fb00490111fea7b873ef16ce0f5 /drivers/leds/leds-lm3533.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 <boris.brezillon@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/leds/leds-lm3533.c')
0 files changed, 0 insertions, 0 deletions