]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pca953x: Unify pca953x_{read,write}_regs_{8,mul}()
authorMarek Vasut <marek.vasut@gmail.com>
Wed, 12 Dec 2018 01:39:54 +0000 (02:39 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Dec 2018 14:19:00 +0000 (15:19 +0100)
commit76756f0f49416648b8a6652d643066a6524a5792
treee866106889ff79a9aae58677de4fc3fcf3b85a32
parent694ff068c2bab46c2c378b95a0eda859195cd336
gpio: pca953x: Unify pca953x_{read,write}_regs_{8,mul}()

At this point, the pca953x_{read,write}_regs_mul() can read single bank
PCA953x GPIO chips as well. Merge the _8 and _mul 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