summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lm3530.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-24 15:00:54 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2017-08-29 21:10:39 +0200
commit85775013ec49b3d114adfbd618d721247bf1b431 (patch)
treefd56d009a0c00fb9946a587ebf8b5ddcd0b54a87 /drivers/leds/leds-lm3530.c
parentleds: lp5521: make several arrays static const (diff)
downloadlinux-85775013ec49b3d114adfbd618d721247bf1b431.tar.xz
linux-85775013ec49b3d114adfbd618d721247bf1b431.zip
leds: lp5562: 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 150 bytes: Before: text data bss dec hex filename 7725 2448 64 10237 27fd drivers/leds/leds-lp5562.o After: text data bss dec hex filename 7184 2832 64 10080 2760 drivers/leds/leds-lp5562.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-lm3530.c')
0 files changed, 0 insertions, 0 deletions