commit | f0254b51cbbfe040142cb824a1ff623de698ae8a | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Apr 01 22:05:26 2020 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Apr 02 09:16:06 2020 +0200 |
tree | cad69cf2e336acfab7749862e34383431084ae8a | |
parent | 33dd888263199676946f1c789e821d39a9a79d98 [diff] |
gpio: Unconditionally assign .request()/.free() The gpiochip_generic_request() and gpiochip_generic_free() functions can now deal properly with chips that don't have any pin-ranges defined, so they can be assigned unconditionally. Suggested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200401200527.2982450-1-thierry.reding@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>