Re: [PATCH] staging: unisys: visorchipset: constify attribute_group structure

2017-07-27 Thread Greg KH
On Wed, Jul 26, 2017 at 09:51:32PM -0400, 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 dec

Re: [PATCH] staging: unisys: visorchipset: constify attribute_group structure

2017-07-27 Thread Greg KH
On Wed, Jul 26, 2017 at 09:51:32PM -0400, 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 dec

[PATCH] staging: unisys: visorchipset: constify attribute_group structure

2017-07-26 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 24124 6216 448 307887844

[PATCH] staging: unisys: visorchipset: constify attribute_group structure

2017-07-26 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 24124 6216 448 307887844