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