Searched hist:"1 bf21b3373df2b5bfa3c6d2dcd52344c7ee4cc58" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/joystick/ |
H A D | adi.c | diff 1bf21b3373df2b5bfa3c6d2dcd52344c7ee4cc58 Mon Sep 04 11:17:39 CDT 2017 Colin Ian King <colin.king@canonical.com> Input: adi - make array seq static, reduces object code size
Don't populate the array seq on the stack, instead make it static. Makes the object code smaller by over 170 bytes:
Before: text data bss dec hex filename 13227 3232 0 16459 404b drivers/input/joystick/adi.o
After: text data bss dec hex filename 12957 3328 0 16285 3f9d drivers/input/joystick/adi.o
Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|