diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-02-14 17:21:53 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-15 15:17:19 +0000 |
commit | 390f7bbdd7c8f812e22100248b0ed7ae1f68b8c9 (patch) | |
tree | a5bf52768b6f9dd978a7fd1d2ce79ecc2acbe640 /LICENSES | |
parent | 4e46c228c793d1a537deb1d26ed31a9b0543a20f (diff) | |
download | talos-op-linux-390f7bbdd7c8f812e22100248b0ed7ae1f68b8c9.tar.gz talos-op-linux-390f7bbdd7c8f812e22100248b0ed7ae1f68b8c9.zip |
ASoC: TSCS42xx: make const array norm_addrs static, reduces object code size
Don't populate the const array norm_addrs on the stack, instead make it
static. Makes the object code smaller by over 230 bytes. Also re-format
array data as the insertion of the static keywork made the first line
overly long.
Before:
text data bss dec hex filename
53780 34752 256 88788 15ad4 linux/sound/soc/codecs/tscs42xx.o
After:
text data bss dec hex filename
53461 34840 256 88557 159ed linux/sound/soc/codecs/tscs42xx.o
(gcc version 7.2.0 x86_64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions