Thread (9 messages) 9 messages, 4 authors, 2021-05-20

Re: [PATCH v2 1/1] gpiolib: Introduce for_each_gpio_desc_if() macro

From: Linus Walleij <hidden>
Date: 2021-05-18 23:41:19
Also in: lkml

On Tue, May 18, 2021 at 10:33 AM Andy Shevchenko
[off-list ref] wrote:
In a few places we are using a loop against all GPIO descriptors
with a given flag for a given device. Replace it with a consolidated
for_each type of macro.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This is great for readability.
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help