summaryrefslogtreecommitdiff
path: root/sound/i2c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-07 10:46:34 +0300
committerMark Brown <broonie@kernel.org>2019-09-09 12:52:07 +0300
commit13ab0d1ab8ae4d1b3b247fd5caec2c10e35c7269 (patch)
tree4de6b92da89d282a6227d8a3a0c72eeddc565af8 /sound/i2c
parentb61b1e35ed06db180968cb5ca0fbf8b8887ccb93 (diff)
downloadlinux-13ab0d1ab8ae4d1b3b247fd5caec2c10e35c7269.tar.xz
ASoC: rt1308: make array pd static const, makes object smaller
Don't populate the array pd on the stack but instead make it static const. Makes the object code smaller by 82 bytes. Before: text data bss dec hex filename 26548 7288 64 33900 846c sound/soc/codecs/rt1308.o After: text data bss dec hex filename 26370 7384 64 33818 841a sound/soc/codecs/rt1308.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20190907074634.22144-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions