[PATCH] gpio: allow passing NULL to gpio_request_by_line_name() to search all gpio controllers

Tom Rini trini at konsulko.com
Fri Mar 31 16:16:55 CEST 2023


On Fri, Mar 17, 2023 at 09:12:22PM +0100, Rasmus Villemoes wrote:

> The API is more convenient to use if one doesn't have to know upfront
> which gpio controller has a line with the name one is searching for,
> and arrange to look that device up somehow. Or implement this loop
> oneself.
> 
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230331/ec8e02a0/attachment.sig>


More information about the U-Boot mailing list