]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit90adb0979947ab9ee2bd5fffa28c6812a47cd7f2
treee866106889ff79a9aae58677de4fc3fcf3b85a32
parent49e713738f9ebfe659d16bff3ff1fb0a054aa9f7
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