ASoC: tlv320aic32x4: make array clocks static, makes object smaller
authorColin Ian King <colin.king@canonical.com>
Sun, 1 Aug 2021 06:48:07 +0000 (07:48 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 2 Aug 2021 14:47:49 +0000 (15:47 +0100)
commitea9df9840fd5d766b9e98b0073890de4be68b062
tree58bb10e01b9953f8b0703d779d2eb7fa45c56d03
parent170c0d7460fc4aa522995ae4096b5a442f50a1fc
ASoC: tlv320aic32x4: make array clocks static, makes object smaller

Don't populate the array clocks on the stack but instead it
static. Makes the object code smaller by 316 bytes.

Before:
   text    data     bss     dec     hex filename
  63668   28264       0   91932   1671c ./sound/soc/codecs/tlv320aic32x4.o

After:
   text    data     bss     dec     hex filename
  62616   29000       0   91616   165e0 ./sound/soc/codecs/tlv320aic32x4.o

(gcc version 10.2.0)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210801064807.138641-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c