diff options
author | Thierry Reding <treding@nvidia.com> | 2020-03-19 13:27:29 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-03-27 11:34:53 +0100 |
commit | 2ab73c6d8323fa1eb02c16c07c40ba2ed17da729 (patch) | |
tree | 63248ef39eecb4f2ddb7bb8ad7607fcb3747bcec /drivers/gpio/gpio-max7301.c | |
parent | da3f594737cfa24c44769ff17ce2643f85eb0ef5 (diff) |
gpio: Support GPIO controllers without pin-ranges
Wake gpiochip_generic_request() call into the pinctrl helpers only if a
GPIO controller had any pin-ranges assigned to it. This allows a driver
to unconditionally use this helper if it supports multiple devices of
which only a subset have pin-ranges assigned to them.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200319122737.3063291-2-thierry.reding@gmail.com
Tested-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-max7301.c')
0 files changed, 0 insertions, 0 deletions