Searched hist:69301258 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | asc7621.c | 69301258 Wed Aug 30 03:32:25 CDT 2017 Colin Ian King <colin.king@canonical.com> hwmon: (asc7621) make several arrays static const
Don't populate the arrays on the stack, instead make them static. Makes the object code smaller by over 950 bytes:
Before: text data bss dec hex filename 26144 18768 352 45264 b0d0 drivers/hwmon/asc7621.o
After: text data bss dec hex filename 25029 18928 352 44309 ad15 drivers/hwmon/asc7621.o
Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> 69301258 Wed Aug 30 03:32:25 CDT 2017 Colin Ian King <colin.king@canonical.com> hwmon: (asc7621) make several arrays static const Don't populate the arrays on the stack, instead make them static. Makes the object code smaller by over 950 bytes: Before: text data bss dec hex filename 26144 18768 352 45264 b0d0 drivers/hwmon/asc7621.o After: text data bss dec hex filename 25029 18928 352 44309 ad15 drivers/hwmon/asc7621.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|