On Tue, Aug 7, 2018 at 9:21 AM Biju Das wrote:
> Add a check for unused gpios to avoid chip->request() call to client
> driver for unused gpios.
>
> Signed-off-by: Biju Das
> Reviewed-by: Fabrizio Castro
Patch applied with Geert's ACK.
Yours,
Linus Walleij
Hi Biju,
Thanks for your patch!
On Tue, Aug 7, 2018 at 9:21 AM Biju Das wrote:
> Add a check for unused gpios to avoid chip->request() call to client
> driver for unused gpios.
"... so not every driver has to do this in its chip->request() callback."
Note that currently no driver seems to
Add a check for unused gpios to avoid chip->request() call to client
driver for unused gpios.
Signed-off-by: Biju Das
Reviewed-by: Fabrizio Castro
---
drivers/gpio/gpiolib.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/gpiolib.c