On Thu, Feb 2, 2017 at 2:53 PM, Boris Brezillon
[off-list ref] wrote:
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 <redacted>
Patch applied.
Both are stacked on ib-gpiod-flags for now, going into test compile.
Yours,
Linus Walleij