Re: [PATCH] ACPI / dock: constify attribute_group structure

2017-08-09 Thread Rafael J. Wysocki
On Wednesday, August 2, 2017 2:28:46 AM CEST Amitoj Kaur Chawla wrote: > Functions working with attribute_groups provided by > work with const attribute_group. These attribute_group structures do not > change at runtime so mark them as const. > > File size before: > text data bss

Re: [PATCH] ACPI / dock: constify attribute_group structure

2017-08-09 Thread Rafael J. Wysocki
On Wednesday, August 2, 2017 2:28:46 AM CEST Amitoj Kaur Chawla wrote: > Functions working with attribute_groups provided by > work with const attribute_group. These attribute_group structures do not > change at runtime so mark them as const. > > File size before: > text data bss

[PATCH] ACPI / dock: constify attribute_group structure

2017-08-01 Thread Amitoj Kaur Chawla
Functions working with attribute_groups provided by work with const attribute_group. These attribute_group structures do not change at runtime so mark them as const. File size before: text data bss dec hex filename 7902 3528 64 114942ce6 drivers/acpi/dock.o

[PATCH] ACPI / dock: constify attribute_group structure

2017-08-01 Thread Amitoj Kaur Chawla
Functions working with attribute_groups provided by work with const attribute_group. These attribute_group structures do not change at runtime so mark them as const. File size before: text data bss dec hex filename 7902 3528 64 114942ce6 drivers/acpi/dock.o