gpio: pca953x: Unify pca95{3,7}x_write_regs_16()
authorMarek Vasut <marek.vasut@gmail.com>
Wed, 12 Dec 2018 01:39:52 +0000 (02:39 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Dec 2018 14:18:53 +0000 (15:18 +0100)
commit028a219ae5b4661ccc400d7f182766853275f0eb
tree15c3b678b76f832dfa3c0e4cf0c86ce7fa4f3eef
parent8958262af3fb832c9817e50f599c5552957ceaba
gpio: pca953x: Unify pca95{3,7}x_write_regs_16()

At this point, these two functions only differ in whether they do or do not
set the address increment bit on PCA9575. Merge these two functions together
to simplify the code a bit.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c