summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-gaff.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-05 19:54:06 +0300
committerJiri Kosina <jkosina@suse.cz>2019-10-01 17:21:04 +0300
commitfe2199cfd1516e90e03c033c52c9a28da09d9986 (patch)
treec9a48de7f4bd02608f01094d0df450767ac0fafb /drivers/hid/hid-gaff.c
parentb3a81c777dcb093020680490ab970d85e2f6f04f (diff)
downloadlinux-fe2199cfd1516e90e03c033c52c9a28da09d9986.tar.xz
HID: prodikeys: make array keys static const, makes object smaller
Don't populate the array keys on the stack but instead make it static const. Makes the object code smaller by 166 bytes. Before: text data bss dec hex filename 18931 5872 480 25283 62c3 drivers/hid/hid-prodikeys.o After: text data bss dec hex filename 18669 5968 480 25117 621d drivers/hid/hid-prodikeys.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-gaff.c')
0 files changed, 0 insertions, 0 deletions