diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-12 12:21:24 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-09-19 09:41:33 +0200 |
commit | 12b136dec281f7503abef269b5272d17635880d8 (patch) | |
tree | f7e31a912b80a07ab8dc080118ad1e72eb6ab05c /crypto | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
pinctrl: uniphier: make arrays static, reduces object code size
Don't populate const arrays on the stack, instead make them
static. Makes the object code smaller nearly 1000 bytes. Also
line break wide lines to avoid checkpatch warnings.
Before:
text data bss dec hex filename
13112 1996 0 15108 3b04 pinctrl-uniphier-core.o
After:
text data bss dec hex filename
11642 2476 0 14118 3726 pinctrl-uniphier-core.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions