Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Fri, 2 Sep 2022 13:02:10 +0200 | Subject | Re: [PATCH v1 4/8] gpiolib: Get rid of ARCH_NR_GPIOS |
| |
Hi Andy,
CC linux-sh
On Fri, Sep 2, 2022 at 12:53 PM Andy Shevchenko <andy.shevchenko@gmail.com> wrote: > On Wed, Aug 31, 2022 at 11:55 PM Arnd Bergmann <arnd@arndb.de> wrote: > > drivers/pinctrl/renesas/gpio.c: gc->base = pfc->nr_gpio_pins; // ??? don't understand > > I think, w/o looking into the code, that this just guarantees the > continuous numbering for all banks (chips) on the platform.
This part of the code depends on CONFIG_PINCTRL_SH_FUNC_GPIO, which is used only on SH.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |