Thread (5 messages) flat view 5 messages, 2 authors, 2017-02-04

Re: [PATCH v3 2/2] gpio: Add the devm_fwnode_get_index_gpiod_from_child() helper

From: Linus Walleij <hidden>
Date: 2017-02-04 20:29:50
Also in: linux-gpio, linux-input, linux-leds

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help