[PATCH] input: synaptics-rmi4: Constify attribute_group structures.

2017-07-05 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 4777 480 052571489 drive

[PATCH] input: synaptics-rmi4: constify attribute_group structures.

2017-07-05 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 5287 448 057351667 drive