diff options
author | Biju Das <biju.das@bp.renesas.com> | 2018-08-07 08:15:18 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-08-10 23:19:17 +0200 |
commit | 3789f5acb9bbe088f70779002f32e7c6a64000bc (patch) | |
tree | c8c19574ef7c1c3ba61666d54d1ba4213a27203e /drivers/gpio/gpio-clps711x.c | |
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>
Diffstat (limited to 'drivers/gpio/gpio-clps711x.c')
0 files changed, 0 insertions, 0 deletions