Re: [PATCH] PM: hibernate: constify attribute_group structures.

2017-06-29 Thread Pavel Machek
On Thu 2017-06-29 16:58:40, Arvind Yadav wrote: > attribute_groups are not supposed to change at runtime. All functions > working with attribute_groups provided by work with const > attribute_group. So mark the non-const structs as const. > > File size before: >text data bss

[PATCH] PM: hibernate: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 6332 488 30871281bd8 kerne