commit | f4e744d49e53b94326fba5a79b29904a0c3aa37d | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | Fri Mar 17 21:12:22 2023 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Mar 30 15:09:59 2023 -0400 |
tree | a64c106aa1c54001e61e02de15ff3d45fbe90332 | |
parent | ce475055ca024b4c7537d2d402aaaba1987a0cdc [diff] |
gpio: allow passing NULL to gpio_request_by_line_name() to search all gpio controllers 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@prevas.dk> Reviewed-by: Simon Glass <sjg@chromium.org>