Re: [PATCH v1 3/5] gpio: max77620: Replace interrupt-enable array with bitmap

2020-07-08 Thread Dmitry Osipenko
08.07.2020 11:44, Andy Shevchenko пишет: > On Wed, Jul 8, 2020 at 11:30 AM Dmitry Osipenko wrote: >> >> There is no need to dedicate an array where a bitmap could be used. >> Let's replace the interrupt's enable-array with the enable-mask in order >> to improve the code a tad. > > ... > >> +#inc

Re: [PATCH v1 3/5] gpio: max77620: Replace interrupt-enable array with bitmap

2020-07-08 Thread Andy Shevchenko
On Wed, Jul 8, 2020 at 11:30 AM Dmitry Osipenko wrote: > > There is no need to dedicate an array where a bitmap could be used. > Let's replace the interrupt's enable-array with the enable-mask in order > to improve the code a tad. ... > +#include > unsigned intirq_type[MAX7