Re: [PATCH] pinctrl: imx8dxl: Constify imx_pinctrl_soc_info
From: Linus Walleij <hidden>
Date: 2021-07-30 10:06:48
From: Linus Walleij <hidden>
Date: 2021-07-30 10:06:48
On Fri, Jul 16, 2021 at 3:13 PM Fabio Estevam [off-list ref] wrote:
The imx_pinctrl_soc_info structure content is never changed, so it can be declared as 'const', like it is done on all other i.MX pinctrl drivers. Make it 'const' in this driver too. Reported-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Patch applied. Yours, Linus Walleij