Re: [PATCH 2/2] gpio: pca953x: use a per instance irq_chip structure

2019-01-21 Thread Linus Walleij
On Wed, Jan 16, 2019 at 10:32 AM Thomas Petazzoni wrote: > When a system has two PCA953x GPIO expanders, the kernel complains with: > > gpio gpiochip2: (0-0021): detected irqchip that is shared with multiple > gpiochips: please fix the driver. > > Indeed, there is a single instance of "struct ir

[PATCH 2/2] gpio: pca953x: use a per instance irq_chip structure

2019-01-16 Thread Thomas Petazzoni
When a system has two PCA953x GPIO expanders, the kernel complains with: gpio gpiochip2: (0-0021): detected irqchip that is shared with multiple gpiochips: please fix the driver. Indeed, there is a single instance of "struct irq_chip" that gets re-used for both PCA953x instance. This commit move