diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-05 13:27:12 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-10-13 11:42:58 +0200 |
commit | 223fd9f61f84ee4dd08fb859f2de3f70cc3879f1 (patch) | |
tree | 5087807988712285a020582d2d0a4fd2b22d4ad6 /drivers/mfd/max77620.c | |
parent | mfd: tps65217: Introduce dependency on CONFIG_OF (diff) | |
download | linux-223fd9f61f84ee4dd08fb859f2de3f70cc3879f1.tar.xz linux-223fd9f61f84ee4dd08fb859f2de3f70cc3879f1.zip |
mfd: stw481x: Make three arrays static const, reduces object code size
Don't populate the arrays vcore_val, vpll_val and vaux_val on the
stack, instead make them static const. Makes the object code smaller
by over 370 bytes:
Before:
text data bss dec hex filename
6971 3248 64 10283 282b drivers/mfd/stw481x.o
After:
text data bss dec hex filename
6338 3504 64 9906 26b2 drivers/mfd/stw481x.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max77620.c')
0 files changed, 0 insertions, 0 deletions