diff options
author | Cristian Ciocaltea <cristian.ciocaltea@gmail.com> | 2020-11-18 20:10:00 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-12-04 09:06:33 +0100 |
commit | 43bb48c38e817b5f89fce340f49436a605e47e66 (patch) | |
tree | 93892e216e60f89f8ef819f0c7bbe21f300852ef /drivers/isdn | |
parent | 552a9cc02b0e8a63d802b3a80ceefce0c89cee8a (diff) | |
download | linux-43bb48c38e817b5f89fce340f49436a605e47e66.tar.gz linux-43bb48c38e817b5f89fce340f49436a605e47e66.tar.bz2 linux-43bb48c38e817b5f89fce340f49436a605e47e66.zip |
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>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions