Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Tue, 10 Nov 2020 09:00:05 +0100 | Subject | Re: [PATCH] pinctrl: renesas: Constify sh73a0_vccq_mc0_ops |
| |
On Mon, Nov 9, 2020 at 11:10 PM Rikard Falkeborn <rikard.falkeborn@gmail.com> 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@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> 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@linux-m68k.org
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
| |