]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit657a1065069d380dfb466b74ec4b8f803f07ad8f
tree15c3b678b76f832dfa3c0e4cf0c86ce7fa4f3eef
parent3c1156a777d47b3c78dcaccd26b20a0566f1d689
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