pinctrl: rk805: Constify rk805_gpio_cfgs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 25 Apr 2020 20:38:13 +0000 (22:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 May 2020 11:35:33 +0000 (13:35 +0200)
commit8068071c09e546e6c13e728da0531b56917802e7
treee96ae90082eb5a11f19523104f5fcab4077dc85b
parent7740dda5b465b67df7cbe3c4c2b96c10e874b09f
pinctrl: rk805: Constify rk805_gpio_cfgs

Mark pin_cfg as const, allowing the compiler to put the struct in
.rodata instead of .data.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200425203813.6442-1-rikard.falkeborn@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rk805.c