diff options
| author | Lars Poeschel <[email protected]> | 2019-01-11 17:25:16 +0100 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2019-01-21 14:19:25 +0100 |
| commit | 19ab5ca9b77d8b30a00cd3b7474d9c1f87df5c0a (patch) | |
| tree | 5cc4ad18a1510f08b9b274bb422e60c3df379fad /tools/perf/scripts/python | |
| parent | f4f1b074691288d024a72601463011b6afd8ac75 (diff) | |
pinctrl: mcp23s08: Allocate irq_chip dynamic
Keeping the irq_chip definition static shares it with multiple instances
of the mcp23s08 gpiochip in the system. This is bad and now we get this
warning from gpiolib core:
"detected irqchip that is shared with multiple gpiochips: please fix the
driver."
Hence, move the irq_chip definition from being driver static into the
struct mcp23s08. So a unique irq_chip is used for each gpiochip
instance.
Signed-off-by: Lars Poeschel <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions