diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-24 15:00:55 +0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-08-29 21:10:39 +0200 |
commit | 34b558a5ed21ff97186265d0d753a3425744d7eb (patch) | |
tree | 88f9702b7e960514663c988be02466edb5639bb9 /drivers/leds/leds-powernv.c | |
parent | leds: lp5562: make several arrays static const (diff) | |
download | linux-34b558a5ed21ff97186265d0d753a3425744d7eb.tar.xz linux-34b558a5ed21ff97186265d0d753a3425744d7eb.zip |
leds: lp8501: make several arrays static const
Don't populate the arrays on the stack, instead make them static const.
Makes the object code smaller by 50 bytes:
Before:
text data bss dec hex filename
5058 1552 64 6674 1a12 drivers/leds/leds-lp8501.o
After:
text data bss dec hex filename
4788 1776 64 6628 19e4 drivers/leds/leds-lp8501.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-powernv.c')
0 files changed, 0 insertions, 0 deletions