Re: [PATCH v2 6/6] pinctrl: intel: Introduce for_each_intel_gpio_group() helper et al.
From: Andy Shevchenko
Date: Fri Aug 30 2024 - 14:53:33 EST
On Fri, Aug 30, 2024 at 07:50:39AM +0300, Mika Westerberg wrote:
> On Thu, Aug 29, 2024 at 04:59:20PM +0300, Andy Shevchenko wrote:
...
> > +#define for_each_intel_pin_community(pctrl, community) \
> > + for (unsigned int __ci = 0; \
> > + __ci < pctrl->ncommunities && (community = &pctrl->communities[__ci]); \
> > + __ci++) \
> > +
>
> These look more readable, thanks. Just one comment. Can you move all
> them here at the top of the file so all the variants are close to each
> other? You can do that while applying.
The rest three moved here.
Pushed to my review and testing queue, thanks!
--
With Best Regards,
Andy Shevchenko