summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-11-29 23:03:42 +0000
committerSebastian Reichel <sebastian.reichel@collabora.com>2018-12-05 00:24:36 +0100
commitbd82ef08382f8b4b8ff476ece065f14b1e8f47e5 (patch)
tree7767abd9bbc32cea2f6ddfb263a88ac98d4a509b /drivers/hid
parented54ffbe554f0902689fd6d1712bbacbacd11376 (diff)
power: supply: cpcap-battery: make array cpcap_battery_irqs static, shrinks object size
Don't populate the array cpcap_battery_irqs on the stack but instead make it static. Makes the object code smaller by 99 bytes: Before: text data bss dec hex filename 13673 2448 0 16121 3ef9 cpcap-battery.o After: text data bss dec hex filename 13510 2512 0 16022 3e96 cpcap-battery.o (gcc version 8.2.0 x86_64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions