This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in thermal folder and add necessary functions to use the in-kernel thermal interfaces.
Showing the changes to include/linux/platform_data (1 of 7 files). Show all
Unified · Split
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | /* |
| 2 | − * exynos4_tmu.h - Samsung EXYNOS4 TMU (Thermal Management Unit) | |
| 2 | + * exynos_thermal.h - Samsung EXYNOS4 TMU (Thermal Management Unit) | |
| 3 | 3 | * |
| 4 | 4 | * Copyright (C) 2011 Samsung Electronics |
| 5 | 5 | * Donggeun Kim <dg77.kim@samsung.com> |
| @@ -19,8 +19,8 @@ · 13 unmodified lines | ||
| 19 | 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | −#ifndef _LINUX_EXYNOS4_TMU_H | |
| 23 | −#define _LINUX_EXYNOS4_TMU_H | |
| 22 | +#ifndef _LINUX_EXYNOS_THERMAL_H | |
| 23 | +#define _LINUX_EXYNOS_THERMAL_H | |
| 24 | 24 | |
| 25 | 25 | enum calibration_type { |
| 26 | 26 | TYPE_ONE_POINT_TRIMMING, |
| @@ -80,4 +80,4 @@ struct exynos4_tmu_platform_data { · 53 unmodified lines | ||
| 80 | 80 | |
| 81 | 81 | enum calibration_type cal_type; |
| 82 | 82 | }; |
| 83 | −#endif /* _LINUX_EXYNOS4_TMU_H */ | |
| 83 | +#endif /* _LINUX_EXYNOS_THERMAL_H */ | |