On Fri, Sep 9, 2016 at 11:17 AM, Bartosz Golaszewski <[email protected]> wrote:
> Avoid the unnecessary if-else in pca953x_read_regs() by spltting the > routine into smaller, specialized functions and calling the right one > via a function pointer held in struct pca953x. > > Signed-off-by: Bartosz Golaszewski <[email protected]> > Reviewed-by: Andy Shevchenko <[email protected]> Patch applied. Yours, Linus Walleij

