pinctrl: tz1090-pdc: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 10 Aug 2017 10:06:26 +0000 (12:06 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Aug 2017 12:42:00 +0000 (14:42 +0200)
commit78094f19e1547e180023922d7b9ad6b36e83a53b
tree02febc9c0e7eed98bcc8efca291838c9aa67e8e1
parent39a303674fa98eed1edb1cc5ffb75bb00149e0ca
pinctrl: tz1090-pdc: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures

These structures are only stored in fields of a pinctrl_desc
structure (confops, 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/pinctrl-tz1090-pdc.c