pinctrl: artpec6: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 10 Aug 2017 10:06:14 +0000 (12:06 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Aug 2017 12:36:59 +0000 (14:36 +0200)
commitd82a9700093f4360c2d209ba4e8585398d0317ee
treee4ec004f667a504c76b0a047e6d157e7a46403aa
parent7b2f016c3bf5c5b61979f8d4cfe5f1eb217e3b7c
pinctrl: artpec6: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures

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@lip6.fr>
Acked-by: Lars Persson <lars.persson@axis.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-artpec6.c