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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 2, 2017 at 2:53 PM, Boris Brezillon
<boris.brezillon@xxxxxxxxxxxxxxxxxx> 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 <boris.brezillon@xxxxxxxxxxxxxxxxxx>

Patch applied.

Both are stacked on ib-gpiod-flags for now, going into test compile.

Yours,
Linus Walleij



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux