Re: [PATCH] thunderbolt: constify attribute_group structure

2017-08-05 Thread Mika Westerberg
On Fri, Aug 04, 2017 at 09:42:09PM -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] thunderbolt: constify attribute_group structure

2017-08-05 Thread Mika Westerberg
On Fri, Aug 04, 2017 at 09:42:09PM -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] thunderbolt: constify attribute_group structure

2017-08-04 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 28565 7300 0 358658c19

[PATCH] thunderbolt: constify attribute_group structure

2017-08-04 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 28565 7300 0 358658c19