diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-09-06 19:14:04 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-09-09 12:50:51 +0300 |
commit | 78b93b04771bdbefe94b84222506ba992f579c98 (patch) | |
tree | c7b4ae473da0bd23b5553222c3a8c3dc04a31aec /sound/soc/rockchip | |
parent | ebe02a5b9ef05e3b812af3d628cdf6206d9ba610 (diff) | |
download | linux-78b93b04771bdbefe94b84222506ba992f579c98.tar.xz |
ASoC: codecs: ad193x: make two arrays static const, makes object smaller
Don't populate the arrays on the stack but instead make them
static const. Makes the object code smaller by 37 bytes.
Before:
text data bss dec hex filename
16253 7200 0 23453 5b9d sound/soc/codecs/ad193x.o
After:
text data bss dec hex filename
16056 7360 0 23416 5b78 sound/soc/codecs/ad193x.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20190906161404.1440-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
0 files changed, 0 insertions, 0 deletions