commit | 3789f5acb9bbe088f70779002f32e7c6a64000bc | [log] [tgz] |
---|---|---|
author | Biju Das <biju.das@bp.renesas.com> | Tue Aug 07 08:15:18 2018 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Aug 10 23:19:17 2018 +0200 |
tree | c8c19574ef7c1c3ba61666d54d1ba4213a27203e | |
parent | 21041daba2300c88f0da538b3480a9fae37430ea [diff] |
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: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>