diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-11 22:52:12 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | 2017-08-12 13:58:14 -0400 |
commit | 810e006a82c9482d0353abe37cea68ddf6d76896 (patch) | |
tree | 65fe01d59b291b3c96386ae3729afd0935dec4c8 /drivers/power/avs/Kconfig | |
parent | 18a89d5c7ce873e5d813a135bf4e12d75b9d95c7 (diff) | |
download | blackbird-obmc-linux-810e006a82c9482d0353abe37cea68ddf6d76896.tar.gz blackbird-obmc-linux-810e006a82c9482d0353abe37cea68ddf6d76896.zip |
power: supply: lp8788: Make several arrays static const * const
Don't populate various read only arrays on the stack but make them
static const, making the object code smaller and saves 148 bytes
overall:
Before:
text data bss dec hex filename
11940 4496 64 16500 4074 lp8788-charger.o
After:
text data bss dec hex filename
11472 4816 64 16352 3fe0 lp8788-charger.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power/avs/Kconfig')
0 files changed, 0 insertions, 0 deletions