summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pcf857x.c
diff options
context:
space:
mode:
authorColin Ian King2019-05-10 15:10:39 +0200
committerJiri Kosina2019-05-22 13:18:28 +0200
commit39d21e7e004340417395884979882e5d749a6157 (patch)
tree27115af17254102d848ff77349df0361156e6fa0 /drivers/gpio/gpio-pcf857x.c
parentHID: logitech-dj: Add usb-id for the 27MHz MX3000 receiver (diff)
downloadkernel-qcow2-linux-39d21e7e004340417395884979882e5d749a6157.tar.gz
kernel-qcow2-linux-39d21e7e004340417395884979882e5d749a6157.tar.xz
kernel-qcow2-linux-39d21e7e004340417395884979882e5d749a6157.zip
HID: logitech-dj: make const array template static
Don't populate the array template on the stack but instead make it static. Makes the object code smaller by 10 bytes. Also reformat the declaration. Before: text data bss dec hex filename 29376 9360 128 38864 97d0 drivers/hid/hid-logitech-dj.o After: text data bss dec hex filename 29270 9456 128 38854 97c6 drivers/hid/hid-logitech-dj.o (gcc version 8.3.0, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/gpio/gpio-pcf857x.c')
0 files changed, 0 insertions, 0 deletions