linux-sg2042/drivers/pinctrl/actions
Cristian Ciocaltea 43bb48c38e pinctrl: actions: pinctrl-s500: Constify s500_padinfo[]
s500_padinfo[] is never modified and should be made 'const' to allow
the compiler to optimize code generation, i.e. put it in the text
section instead of the data section.

Before:
   text    data     bss     dec     hex filename
  12503    5088       0   17591    44b7 drivers/pinctrl/actions/pinctrl-s500.o

After:
   text    data     bss     dec     hex filename
  14435    3156       0   17591    44b7 drivers/pinctrl/actions/pinctrl-s500.o

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Link: https://lore.kernel.org/r/24505deb08d050eb4ce38f186f4037d7541ea217.1605722628.git.cristian.ciocaltea@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-12-04 09:06:33 +01:00
..
Kconfig pinctrl: actions: Add Actions S500 pinctrl driver 2020-08-27 10:40:13 +02:00
Makefile pinctrl: actions: Add Actions S500 pinctrl driver 2020-08-27 10:40:13 +02:00
pinctrl-owl.c pinctrl: actions: pinctrl-owl: Constify owl_pinctrl_ops and owl_pinmux_ops 2020-09-12 12:15:19 +02:00
pinctrl-owl.h pinctrl: actions: define pad control configurtion to SoC specific 2018-11-19 14:11:16 +01:00
pinctrl-s500.c pinctrl: actions: pinctrl-s500: Constify s500_padinfo[] 2020-12-04 09:06:33 +01:00
pinctrl-s700.c pinctrl: actions: pinctrl-s700: Constify s700_padinfo[] 2020-09-12 12:15:19 +02:00
pinctrl-s900.c pinctrl: actions: pinctrl-s900: Constify s900_padinfo[] 2020-09-12 12:15:19 +02:00