Re: [PATCH] pinctrl: microchip-sgpio: make irq_chip immutable

From: Linus Walleij
Date: Thu Apr 28 2022 - 18:34:50 EST


On Thu, Apr 28, 2022 at 1:16 PM Michael Walle <michael@xxxxxxxx> wrote:

> Since recently, the kernel is nagging about mutable irq_chips:
>
> [ 4.967050] gpio gpiochip1: (e2004190.gpio-input): not an immutable chip, please consider fixing it!
>
> Drop the unneeded copy, flag it as IRQCHIP_IMMUTABLE, add the new
> helper functions and call the appropriate gpiolib functions.
>
> Signed-off-by: Michael Walle <michael@xxxxxxxx>

I'm still waiting to see if Bartosz pulls in the prerequisites
to the GPIO tree, when/if he does I will pull it in too and
apply this on top.

Yours,
Linus Walleij