Searched hist:f01a59ef7ada971698972ec6ecdf4719119bb0ac (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/leds/ |
H A D | leds-lp5521.c | diff f01a59ef7ada971698972ec6ecdf4719119bb0ac Thu Aug 24 08:00:53 CDT 2017 Colin Ian King <colin.king@canonical.com> 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>
|