summaryrefslogtreecommitdiff
path: root/drivers/auxdisplay/panel.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-07-10 16:08:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 17:23:16 +0200
commitcaa97be1a2052f2dfc026c3fe5ef62f620782f24 (patch)
treea8a42967d957c7ea6f05153ca9c691e1bdf75469 /drivers/auxdisplay/panel.c
parent2dee584bc9e3c75afc2c85f107e516c58a8efaf3 (diff)
char/mwave: make some arrays static const to make object code smaller
Don't populate arrays on the stack but make them static. Makes the object code smaller. Also remove temporary variables that have hard coded array sizes and just use ARRAY_SIZE instead and wrap some lines that are wider than 80 chars to clean up some checkpatch warnings. Before: text data bss dec hex filename 11141 2008 64 13213 339d drivers/char/mwave/smapi.o After: text data bss dec hex filename 10697 2352 64 13113 3339 drivers/char/mwave/smapi.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/auxdisplay/panel.c')
0 files changed, 0 insertions, 0 deletions