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

From: Linus Walleij
Date: Mon Nov 14 2022 - 08:21:18 EST


On Fri, Nov 11, 2022 at 1:00 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij