2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/drivers/thermal/int340x_thermal
Arvind Yadav 9fc2230f2e thermal: int340x: 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
   1687	    592	      0	   2279	    8e7	int3400_thermal.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
   1751	    528	      0	   2279	    8e7	int3400_thermal.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2017-08-08 16:54:01 +08:00
..
acpi_thermal_rel.c Thermal/int340x: Fix few typos and kernel-doc style 2017-06-29 10:50:36 +08:00
acpi_thermal_rel.h Thermal: int340x_thermal: expose acpi thermal relationship tables 2014-10-11 09:35:48 +08:00
int340x_thermal_zone.c thermal: int340x: New Interface to read trip and notify 2016-09-27 14:37:14 +08:00
int340x_thermal_zone.h thermal: int340x: New Interface to read trip and notify 2016-09-27 14:37:14 +08:00
int3400_thermal.c thermal: int340x: constify attribute_group structures. 2017-08-08 16:54:01 +08:00
int3402_thermal.c thermal: int340x: New Interface to read trip and notify 2016-09-27 14:37:14 +08:00
int3403_thermal.c thermal: int340x: check for sensor when PTYP is missing 2017-06-29 10:53:38 +08:00
int3406_thermal.c Thermal-INT3406: Delete owner assignment 2016-08-19 21:32:48 +08:00
Kconfig Thermal / ACPI / video: add INT3406 thermal driver 2016-05-11 02:15:31 +02:00
Makefile Thermal / ACPI / video: add INT3406 thermal driver 2016-05-11 02:15:31 +02:00
processor_thermal_device.c thermal: int340x: New Interface to read trip and notify 2016-09-27 14:37:14 +08:00