Re: [PATCH] power: supply: cpcap-battery: make array cpcap_battery_irqs static, shrinks object size

2018-12-05 Thread Sebastian Reichel
Hi, On Thu, Nov 29, 2018 at 11:03:42PM +, Colin King wrote: > From: Colin Ian King > > 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 >

Re: [PATCH] power: supply: cpcap-battery: make array cpcap_battery_irqs static, shrinks object size

2018-12-05 Thread Sebastian Reichel
Hi, On Thu, Nov 29, 2018 at 11:03:42PM +, Colin King wrote: > From: Colin Ian King > > 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 >

[PATCH] power: supply: cpcap-battery: make array cpcap_battery_irqs static, shrinks object size

2018-11-29 Thread Colin King
From: Colin Ian King 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: textdata bss dec hex filename 136732448 0 161213ef9 cpcap-battery.o After: textdata bss

[PATCH] power: supply: cpcap-battery: make array cpcap_battery_irqs static, shrinks object size

2018-11-29 Thread Colin King
From: Colin Ian King 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: textdata bss dec hex filename 136732448 0 161213ef9 cpcap-battery.o After: textdata bss