git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d188d6
)
USB: sisusb: Use static const, fix typo
author
Joe Perches
<joe@perches.com>
Mon, 24 Feb 2014 18:01:16 +0000
(10:01 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 3 Mar 2014 16:54:30 +0000
(08:54 -0800)
Convert 1 char * array to 2 char arrays to reduce size.
Use static const to avoid array reloads on function entry.
Fix asymmetric typo.
$ size drivers/usb/misc/sisusbvga/sisusb.o*
text data bss dec hex filename
29971 4841 9180 43992 abd8 drivers/usb/misc/sisusbvga/sisusb.o.new
30083 4841 9180 44104 ac48 drivers/usb/misc/sisusbvga/sisusb.o.old
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/sisusbvga/sisusb.c
patch
|
blob
|
history
diff --cc
drivers/usb/misc/sisusbvga/sisusb.c
Simple merge