Messages in this thread | | | From | Linus Walleij <> | Date | Mon, 12 Sep 2016 14:48:03 +0200 | Subject | Re: [PATCH v6 2/5] gpio: pca953x: refactor pca953x_write_regs() |
| |
On Fri, Sep 9, 2016 at 11:17 AM, Bartosz Golaszewski <bgolaszewski@baylibre.com> wrote:
> Avoid the unnecessary if-else in pca953x_write_regs() by splitting > the routine into smaller, specialized functions and calling the right > one via a function pointer held in struct pca953x_chip. > > Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Patch applied.
Yours, Linus Walleij
| |