Re: [PATCH] pinctrl: add one more "const" for generic function groups
From: Linus Walleij <hidden>
Date: 2021-12-16 03:07:26
Also in:
lkml
From: Linus Walleij <hidden>
Date: 2021-12-16 03:07:26
Also in:
lkml
On Wed, Dec 15, 2021 at 6:48 PM Rafał Miłecki [off-list ref] wrote:
From: Rafał Miłecki <rafal@milecki.pl> Generic code doesn't modify those strings and .get_function_groups callback has that extra "const" as well. This allows more flexibility in GENERIC_PINMUX_FUNCTIONS users. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
I really like const-correctness and I'm a fan of this patch. It seems some users need to be modified as well though, the test robot is unhappy. Yours, Linus Walleij