Re: [PATCH] gpio: Avoid using pin ranges with !PINCTRL

From: Linus Walleij
Date: Tue Mar 31 2020 - 10:48:29 EST


On Mon, Mar 30, 2020 at 11:03 AM Thierry Reding
<thierry.reding@xxxxxxxxx> wrote:

> From: Thierry Reding <treding@xxxxxxxxxx>
>
> Do not use the struct gpio_device's .pin_ranges field if the PINCTRL
> Kconfig symbol is not selected to avoid build failures.
>
> Fixes: d2fbe53a806e ("gpio: Support GPIO controllers without pin-ranges")
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>

Patch applied with Geert's tags and fixes.

Yours,
Linus Walleij