On Mon, May 18, 2020 at 08:41:38PM +0300, Andy Shevchenko wrote: > has_irq member of struct dwapb_port_property is used only in one place, > so, make it local test instead and remove from the structure. > This local test is using memchr_inv() which is quite effective in comparison > to the original loop and possible little overhead can be neglected. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > Cc: Serge Semin <fancer.lancer@xxxxxxxxx> > Cc: Lee Jones <lee.jones@xxxxxxxxxx> > --- > v2: > - fixed compilation error (kbuild bot) > - added Lee into Cc Lee, JFYI, you have not been forgotten in the v1, this is due to missed change in the MFD driver in v1 and since kbuild bot reported it this is the first version which includes MFD changes. > - moved memchr_inv() here (Serge) -- With Best Regards, Andy Shevchenko