pinctrl: sirf: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 10 Aug 2017 10:06:18 +0000 (12:06 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Aug 2017 12:39:08 +0000 (14:39 +0200)
commitecdc722f49e1ec6ccf6c53d63413777cbb469948
tree979d026f5ce3750897e6e562a020edc8efcef517
parent71ccb82be752a5b445006a5feacd6996d59a6a72
pinctrl: sirf: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures

These structures are only stored in fields of a pinctrl_desc
structure (pctlops and pmxops) that are const. Make the
structures const as well.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sirf/pinctrl-sirf.c