diff options
author | Arvind Yadav <[email protected]> | 2017-07-03 15:40:04 +0530 |
---|---|---|
committer | MyungJoo Ham <[email protected]> | 2017-07-06 10:17:24 +0900 |
commit | 37d644aa01c092686af8a96f34df93c74e55b480 (patch) | |
tree | 74755a7a40fad91af97709d0a47fbd2728ffeb5a /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 9e578b37505018622dfafc40eed7cd78ff2af221 (diff) |
PM / devfreq: constify attribute_group structures.
attribute_groups are not supposed to change at runtime. All functions
working with attribute_groups provided by <linux/sysfs.h> work with const
attribute_group. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
621 176 0 797 31d drivers/devfreq/governor_userspace.o
File size After adding 'const':
text data bss dec hex filename
670 144 0 814 32e drivers/devfreq/governor_userspace.o
Signed-off-by: Arvind Yadav <[email protected]>
Reviewed-by: Chanwoo Choi <[email protected]>
Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions