Re: [PATCH v2 1/1] pinctrl: Move for_each_maps() to namespace and hide iterator inside

Linus Walleij
2022-11-14T13:21:17Z

On Fri, Nov 11, 2022 at 1:00 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> First of all, while for_each_maps() is private to pin control subsystem
> it's still better to have it put into a namespace.
>
> Besides that, users are not relying on iterator variable, so hide it
> inside for-loop.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Patch applied!

Yours,
Linus Walleij