pinctrl: aspeed: g4: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 10 Aug 2017 10:06:20 +0000 (12:06 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Aug 2017 12:40:06 +0000 (14:40 +0200)
commitcfa5760c3bb95b284f21a9ca19317688d4f0c079
treeda5bb9d7fe2ffda9bdc585d894ba3e4de1376e84
parentdb74f96d6a98f4c9c707660053f95b751a5ff592
pinctrl: aspeed: g4: 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/aspeed/pinctrl-aspeed-g4.c