aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-06 19:11:14 +0100
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2020-01-03 14:27:47 +0100
commit776b0aa9a645804cbae0e9adf7e3556c25707da9 (patch)
tree8f7c2279bc91db6c8757a9fd35311023865472e9 /drivers/nvmem
parentfbdev/sa1100fb: use devm_platform_ioremap_resource() to simplify code (diff)
downloadlinux-dev-776b0aa9a645804cbae0e9adf7e3556c25707da9.tar.xz
linux-dev-776b0aa9a645804cbae0e9adf7e3556c25707da9.zip
fbdev: matrox: make array wtst_xlat static const, makes object smaller
Don't populate the array wtst_xlat on the stack but instead make it static const. Makes the object code smaller by 89 bytes. Before: text data bss dec hex filename 14347 840 0 15187 3b53 fbdev/matrox/matroxfb_misc.o After: text data bss dec hex filename 14162 936 0 15098 3afa fbdev/matrox/matroxfb_misc.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> [b.zolnierkie: use u8 while at it (suggested by Ville Syrjälä)] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190906181114.31414-1-colin.king@canonical.com
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions