Re: [PATCH 02/17] pinctrl: artpec6: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures

From: Lars Persson
Date: Thu Aug 10 2017 - 08:31:32 EST




On 08/10/2017 12:06 PM, Julia Lawall wrote:
This pinctrl_ops structure is only stored in the const pctlops
field of a pinctrl_desc structure. Make the pinctrl_ops structure
const as well.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>

---
drivers/pinctrl/pinctrl-artpec6.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Hi,

Acked-by: Lars Persson <lars.persson@xxxxxxxx>

BR,
Lars