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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux