usb: renesas_usbhs: make array type_array static const
authorColin Ian King <colin.king@canonical.com>
Tue, 4 Jul 2017 10:31:24 +0000 (11:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 11:13:44 +0000 (13:13 +0200)
commit013668f3dc5d4e54f1c081e99802c42bb02bcb80
tree32a826a2d3ccd6d6c2ed6e8473c71e78c390ac7e
parent020e03b78312ab0df1fd3c4ea62e675724cd18cf
usb: renesas_usbhs: make array type_array static const

Array type_array can be made static const rather than being
populated on the stack. Makes the object code smaller:

Before:
   text    data     bss     dec     hex filename
   8087    1496       0    9583    256f drivers/usb/renesas_usbhs/pipe.o

After:
   text    data     bss     dec     hex filename
   7883    1584       0    9467    24fb drivers/usb/renesas_usbhs/pipe.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/pipe.c