commit | 84d02e785d34be9363a825d696cca1f07fac2634 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Apr 07 20:38:42 2020 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Apr 16 14:21:23 2020 +0200 |
tree | f5b27539c45a36865e68b974724011b587801f42 | |
parent | 6aba6ed879b3471903c8ada28ba968a268df6143 [diff] |
pinctrl: mcp23s08: Deduplicate IRQ chip filling In both cases, SPI and I²C, IRQ chip is filled in the same way. Deduplicate this by moving common part to mcp23s08_probe_one(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200407173849.43628-2-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>