android_kernel_motorola_sm6375/drivers/devfreq
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Arvind Yadav 37d644aa01 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]>
2017-07-06 10:17:24 +09:00
..
event
devfreq-event.c
devfreq.c
exynos-bus.c
governor.h
governor_passive.c
governor_performance.c
governor_powersave.c
governor_simpleondemand.c
governor_userspace.c PM / devfreq: constify attribute_group structures. 2017-07-06 10:17:24 +09:00
Kconfig
Makefile
rk3399_dmc.c
tegra-devfreq.c