Skip to content
Commit e1c97949 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Tom Rini
Browse files

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: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent fdef6b98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment