diff options
author | 2017-08-24 14:00:53 +0100 | |
---|---|---|
committer | 2017-08-29 21:10:38 +0200 | |
commit | f01a59ef7ada971698972ec6ecdf4719119bb0ac (patch) | |
tree | 62c6631c65c9992547d4a8aad7422abe0ef33eb0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | leds: aat1290: make array max_mm_current_percent static const (diff) | |
download | wireguard-linux-f01a59ef7ada971698972ec6ecdf4719119bb0ac.tar.xz wireguard-linux-f01a59ef7ada971698972ec6ecdf4719119bb0ac.zip |
leds: lp5521: make several arrays static const
Don't populate the arrays on the stack, instead make them static const.
Makes the object code smaller by over 120 bytes:
Before:
text data bss dec hex filename
8999 4176 64 13239 33b7 drivers/leds/leds-lp5521.o
After:
text data bss dec hex filename
8554 4496 64 13114 333a drivers/leds/leds-lp5521.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions