commit | 90adb0979947ab9ee2bd5fffa28c6812a47cd7f2 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Wed Dec 12 02:39:54 2018 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Dec 14 15:19:00 2018 +0100 |
tree | e866106889ff79a9aae58677de4fc3fcf3b85a32 | |
parent | 49e713738f9ebfe659d16bff3ff1fb0a054aa9f7 [diff] |
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>