Skip to content
Commit 3789f5ac authored by Biju Das's avatar Biju Das Committed by Linus Walleij
Browse files

gpiolib: Avoid calling chip->request() for unused gpios



Add a check for unused gpios to avoid chip->request() call to client
driver for unused gpios.

Signed-off-by: default avatarBiju Das <biju.das@bp.renesas.com>
Reviewed-by: default avatarFabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 21041dab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment