Re: [PATCH 2/4] checkpatch: warn about use of legacy_static_base
From: Linus Walleij
Date: Tue Jan 14 2025 - 09:37:27 EST
On Mon, Jan 13, 2025 at 11:19 PM Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> wrote:
> gpio_chip::legacy_state_base was recently added as opt-out for
> existing drivers and shouldn't be used for new drivers. It's thus
> sensible to add a deprecation warning whenever it's used.
>
> This doesn't fit with the existing deprecated API check, because it
> requires a `(' to follow the symbol name, so a new member specific
> pattern is introduced instead.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
Thanks Ahmad, much appreciated!!
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij