diff options
author | Arvind Yadav <[email protected]> | 2017-07-06 22:25:56 +0530 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2017-07-16 15:09:30 +0900 |
commit | ff890bc00830830799a72ed7481836f0dd9c3be9 (patch) | |
tree | b11cab0d52d18a735d737d899ef23f23d3e0bf67 /tools/perf/scripts/python/sched-migration.py | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) |
extcon: int3496: Constify acpi_device_id
acpi_device_id are not supposed to change at runtime. All functions
working with acpi_device_id provided by <acpi/acpi_bus.h> work with
const acpi_device_id. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
1733 352 0 2085 825 drivers/extcon/extcon-intel-int3496.o
File size After adding 'const':
text data bss dec hex filename
1797 272 0 2069 815 drivers/extcon/extcon-intel-int3496.o
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions