Re: [PATCH] pinctrl: add one more "const" for generic function groups

From: Linus Walleij
Date: Wed Dec 15 2021 - 22:07:45 EST


On Wed, Dec 15, 2021 at 6:48 PM Rafał Miłecki <zajec5@xxxxxxxxx> wrote:

> From: Rafał Miłecki <rafal@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

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