Re: [PATCH] pinctrl: renesas: Constify sh73a0_vccq_mc0_ops

From: Geert Uytterhoeven
Date: Tue Nov 10 2020 - 03:00:19 EST


On Mon, Nov 9, 2020 at 11:10 PM Rikard Falkeborn
<rikard.falkeborn@xxxxxxxxx> wrote:
> The only usage of sh73a0_vccq_mc0_ops is to assign its address to the
> ops field in the regulator_desc struct, which is a const pointer. Make
> it const to allow the compiler to put it in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@xxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
i.e. will queue in renesas-pinctrl-for-v5.11.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds