Re: [PATCH] iio:adc:at91-sama5d2: make array startup_lookup static to reduce code size

2017-07-09 Thread Jonathan Cameron
On Fri, 7 Jul 2017 17:08:35 +0100 Colin King wrote: > From: Colin Ian King > > Making the const array startup_lookup static rather having it on the > stack saves 69 bytes. Add in missing int specifier to clean up a > checkpatch warning. > > Before: >text data bss dec

[PATCH] iio:adc:at91-sama5d2: make array startup_lookup static to reduce code size

2017-07-07 Thread Colin King
From: Colin Ian King Making the const array startup_lookup static rather having it on the stack saves 69 bytes. Add in missing int specifier to clean up a checkpatch warning. Before: textdata bss dec hex filename 102972800 128 1322533a9 drivers/iio/adc/at91-sam