pinctrl: actions: pinctrl-s700: Constify s700_padinfo[]
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sun, 30 Aug 2020 22:43:10 +0000 (00:43 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Sep 2020 10:15:19 +0000 (12:15 +0200)
commitd01afb7115b190a594441d152a5dd364b9e0d602
treeb657fc1323f714259a900167fedfe9b920ebcf16
parent8e2f830acaa4a05087bc637fff4434de50057c11
pinctrl: actions: pinctrl-s700: Constify s700_padinfo[]

The only usage of s700_padinfo[] is to assign it to the padinfo field in
the owl_pinctrl_soc_data struct, which is a const pointer. Make it const
to allow the compiler to put it 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-3-rikard.falkeborn@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/actions/pinctrl-s700.c