Re: [PATCH v2 0/2] gpiolib: Make code more robust by using for_each_if()

2025-02-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski On Thu, 13 Feb 2025 20:23:59 +0200, Andy Shevchenko wrote: > Instead of opencoding with long lines, use for_each_if() macro > which makes intention clearer and less error prone. > > In v2: > - moved original for_each_if() implementation to the global header (Bart) > >

Re: [PATCH v2 0/2] gpiolib: Make code more robust by using for_each_if()

2025-02-14 Thread Linus Walleij
On Thu, Feb 13, 2025 at 7:25 PM Andy Shevchenko wrote: > Instead of opencoding with long lines, use for_each_if() macro > which makes intention clearer and less error prone. Excellent patch series. Reviewed-by: Linus Walleij Yours, Linus Walleij

[PATCH v2 0/2] gpiolib: Make code more robust by using for_each_if()

2025-02-13 Thread Andy Shevchenko
Instead of opencoding with long lines, use for_each_if() macro which makes intention clearer and less error prone. In v2: - moved original for_each_if() implementation to the global header (Bart) Andy Shevchenko (2): drm: Move for_each_if() to util_macros.h for wider use gpiolib: Switch to us