pinctrl: actions: pinctrl-owl: Constify owl_pinctrl_ops and owl_pinmux_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sun, 30 Aug 2020 22:43:09 +0000 (00:43 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Sep 2020 10:15:19 +0000 (12:15 +0200)
commit8e2f830acaa4a05087bc637fff4434de50057c11
treef11c2c729f3ab9dc9570ef312c169f5d0d449551
parentb9b7fb29433b906635231d0a111224efa009198c
pinctrl: actions: pinctrl-owl: Constify owl_pinctrl_ops and owl_pinmux_ops

The only usage of owl_pinctrl_ops and owl_pinmux_ops is to assign their
addresses to the pctlops and the pmxops fields in the pinctrl_desc struct,
which are const pointers. Make them const to allow the compiler to put them
in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200830224311.36994-2-rikard.falkeborn@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/actions/pinctrl-owl.c