Re: [PATCH v1 1/1] gpiolib: Make use of assign_bit() API (part 2)

From
Linus Walleij <hidden>
Date
2021-05-18 23:39:38
Also in
lkml
Reply to
Andy Shevchenko, 2021-05-18
On Tue, May 18, 2021 at 10:46 AM Andy Shevchenko
[off-list ref] wrote:
We have for some time the assign_bit() API to replace open coded

        if (foo)
                set_bit(n, bar);
        else
                clear_bit(n, bar);

Use this API in GPIO library code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Now I understand what assign_bit() is for...
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Thread (3 messages) 3 messages, 3 authors, last reply 2021-05-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help