diff options
author | Joe Perches <joe@perches.com> | 2017-11-28 11:34:16 -0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-06 12:48:27 -0500 |
commit | cf7d1bdf2b4338a03e5ba1142c0014b000597a60 (patch) | |
tree | 70995ddb4370b9324ac66292ece08824fba407d0 /drivers/misc/ad525x_dpot.c | |
parent | 1e88ad0ae390da86574d6336a9fb26a32cc0e473 (diff) | |
download | talos-obmc-linux-cf7d1bdf2b4338a03e5ba1142c0014b000597a60.tar.gz talos-obmc-linux-cf7d1bdf2b4338a03e5ba1142c0014b000597a60.zip |
drm/ttm: Use a static string instead of an array of char *
Make the object a bit smaller by using a simple string instead
of a format string and array of char *.
$ size drivers/gpu/drm/ttm/ttm_page_alloc_dma.o*
text data bss dec hex filename
8820 216 4136 13172 3374 drivers/gpu/drm/ttm/ttm_page_alloc_dma.o.defconfig.new
8910 216 4136 13262 33ce drivers/gpu/drm/ttm/ttm_page_alloc_dma.o.defconfig.old
25383 5044 4384 34811 87fb drivers/gpu/drm/ttm/ttm_page_alloc_dma.o.allyesconfig.new
25797 5428 4384 35609 8b19 drivers/gpu/drm/ttm/ttm_page_alloc_dma.o.allyesconfig.old
Miscellanea:
o The h array had more entries than were emitted, all are now removed
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/misc/ad525x_dpot.c')
0 files changed, 0 insertions, 0 deletions