Re: [PATCH v3 1/1] gpio: vf610: make irq_chip immutable

From: Linus Walleij
Date: Wed Feb 15 2023 - 07:36:48 EST


On Wed, Feb 15, 2023 at 10:52 AM Alexander Stein
<alexander.stein@xxxxxxxxxxxxxxx> wrote:

> Since recently, the kernel is nagging about mutable irq_chips:
>
> "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: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> ---
> Changes in v3:
> * Use calculated gpio_num instead of accessing struct member

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij