Re: [PATCH] mfd: stw481x: make three arrays static const, reduces object code size

2017-09-07 Thread Lee Jones
On Tue, 05 Sep 2017, Colin King wrote: > From: Colin Ian King > > Don't populate the arrays vcore_val, vpll_val and vaux_val on the > stack, instead make them static const. Makes the object code smaller > by over 370 bytes: > > Before: >text data bss dec hex filename >

[PATCH] mfd: stw481x: make three arrays static const, reduces object code size

2017-09-05 Thread Colin King
From: Colin Ian King Don't populate the arrays vcore_val, vpll_val and vaux_val on the stack, instead make them static const. Makes the object code smaller by over 370 bytes: Before: textdata bss dec hex filename 69713248 64 10283282b drivers/mfd/stw481x.o