diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-24 14:00:52 +0100 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-08-29 21:10:38 +0200 |
commit | 17224244bbbe2ac91bc2645b5198f742a63e1d82 (patch) | |
tree | 2601c7b5a035b38951759709961909f7f9edf996 /drivers/leds/leds-dac124s085.c | |
parent | 390c97dc6e346b65df61c18fade67577896382fd (diff) | |
download | linux-17224244bbbe2ac91bc2645b5198f742a63e1d82.tar.bz2 |
leds: aat1290: make array max_mm_current_percent static const
Don't populate the array max_mm_current_percent on the stack, instead
make it static const. Makes the object code smaller by over 280 bytes:
Before:
text data bss dec hex filename
7225 1936 64 9225 2409 ./drivers/leds/leds-aat1290.o
After:
text data bss dec hex filename
6847 2032 64 8943 22ef ./drivers/leds/leds-aat1290.o`
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/leds-dac124s085.c')
0 files changed, 0 insertions, 0 deletions