Re: [PATCH v2 1/2] drm: Move for_each_if() to util_macros.h for wider use
From: Andy Shevchenko
Date: Thu Feb 13 2025 - 13:50:27 EST
On Thu, Feb 13, 2025 at 07:36:38PM +0100, Bartosz Golaszewski wrote:
> On Thu, Feb 13, 2025 at 7:25 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> >
> > Other subsystem(s) may want to reuse the for_each_if() macro.
> > Move it to util_macros.h to make it globally available.
> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> Who would pick it up? Should I take it via the GPIO tree and provide
> an immutable branch for the DRM tree?
I believe it makes sense as the first user outside drm is GPIO.
--
With Best Regards,
Andy Shevchenko