[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdY5sqFQq1364MVrCk2201DO9pR-mwHqur=jnnykgpt0uQ@mail.gmail.com>
Date: Mon, 14 Nov 2022 14:19:56 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] pinctrl: Move for_each_maps() to namespace and
hide iterator inside
On Fri, Nov 11, 2022 at 1:00 PM Andy Shevchenko
<andriy.shevchenko@...ux.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@...ux.intel.com>
Patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists