summaryrefslogtreecommitdiff
path: root/drivers/base/soc.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-25 20:00:16 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-29 01:21:41 +0300
commit843791bb6c76b1f808951b284be5c10ee47fd245 (patch)
tree664c8002490f81a79dc820659281d3f3fa73c165 /drivers/base/soc.c
parent9a6e91d08e7707baa2f824257342ca7efcb199bc (diff)
downloadlinux-843791bb6c76b1f808951b284be5c10ee47fd245.tar.xz
cpufreq: speedstep-lib: make several arrays static, makes code smaller
Don't populate arrays on the stack, instead make them static. Makes the object code smaller by over 860 bytes: Before: text data bss dec hex filename 10716 5196 0 15912 3e28 drivers/cpufreq/speedstep-lib.o After: text data bss dec hex filename 9690 5356 0 15046 3ac6 drivers/cpufreq/speedstep-lib.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/soc.c')
0 files changed, 0 insertions, 0 deletions