Re: [PATCH 1/4] leds: aat1290: make array max_mm_current_percent static const

2017-08-24 Thread Jacek Anaszewski
Hi Colin, Thanks for the path set, applied. Best regards, Jacek Anaszewski On 08/24/2017 03:00 PM, Colin King wrote: > From: Colin Ian King > > Don't populate the array max_mm_current_percent on the stack, instead > make it static const. Makes the object code smaller by over 280 bytes: > > B

[PATCH 1/4] leds: aat1290: make array max_mm_current_percent static const

2017-08-24 Thread Colin King
From: Colin Ian King Don't populate the array max_mm_current_percent on the stack, instead make it static const. Makes the object code smaller by over 280 bytes: Before: textdata bss dec hex filename 72251936 6492252409 ./drivers/leds/leds-aat1290.o After