[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdarh1N+NwYgDR31T=eESF20AgWJd=PTyv321jTdpH8PsA@mail.gmail.com>
Date: Thu, 16 Dec 2021 04:07:12 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Rafał Miłecki <zajec5@...il.com>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Rafał Miłecki <rafal@...ecki.pl>
Subject: Re: [PATCH] pinctrl: add one more "const" for generic function groups
On Wed, Dec 15, 2021 at 6:48 PM Rafał Miłecki <zajec5@...il.com> wrote:
> From: Rafał Miłecki <rafal@...ecki.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@...ecki.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
Powered by blists - more mailing lists