WSL2-Linux-Kernel/drivers/acpi/dptf
Arvind Yadav 9e4de6a8ee ACPI / DPTF: 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
    904	    496	      0	   1400	    578	drivers/acpi/dptf/dptf_power.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
    944	    432	      0	   1376	    560	drivers/acpi/dptf/dptf_power.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-07-04 22:15:28 +02:00
..
Kconfig ACPI / DPTF: Add DPTF power participant driver 2016-07-21 13:40:09 +02:00
Makefile ACPI / DPTF: move int340x_thermal.c to the DPTF folder 2016-07-21 13:42:46 +02:00
dptf_power.c ACPI / DPTF: constify attribute_group structures 2017-07-04 22:15:28 +02:00
int340x_thermal.c ACPI / platform: Add support for build-in properties 2016-11-10 00:30:29 +01:00