[PATCH 2/4] checkpatch: warn about use of legacy_static_base
Linus Walleij
linus.walleij at linaro.org
Tue Jan 14 06:37:07 PST 2025
On Mon, Jan 13, 2025 at 11:19 PM Ahmad Fatoum <a.fatoum at pengutronix.de> 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 at pengutronix.de>
Thanks Ahmad, much appreciated!!
Acked-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list