OSDN Git Service

extcon: axp288: Constify the axp288_pwr_up_down_info array
authorHans de Goede <hdegoede@redhat.com>
Mon, 12 Feb 2018 19:46:28 +0000 (20:46 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 12 Feb 2018 21:49:44 +0000 (06:49 +0900)
commit5b4e64beb6ab40f5d8b44500fe0fc201c25a0f16
tree8c1db507f3e63f59901d00cb3eb0d5685d353e50
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
extcon: axp288: Constify the axp288_pwr_up_down_info array

Make the axp288_pwr_up_down_info array const char * const, this leads
to the following section size changes:

.text     0x674 -> 0x664
.data     0x148 -> 0x0f0
.rodata   0x0b4 -> 0x114

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-axp288.c