On Sun, Jan 9, 2022 at 2:13 PM Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote: > On Fri, Jan 7, 2022 at 7:34 AM Cosmin Tanislav <demonsingur@xxxxxxxxx> wrote: > > + bitmap_zero(bits, chip->ngpio); > (At least this conditional can be replaced with __asign_bit() call, > but I think refactoring the entire loop may reveal a better approach) Switching to it makes bitmap_zero() redundant. -- With Best Regards, Andy Shevchenko