thermal: exynos: remove separate exynos_tmu.h header file
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): CGME20180416142221eucas1p1ded332b5b69a9f3f1224914e48b28c19@eucas1p1.samsung.com
PATCH v2 12/14 thermal: exynos: remove separate exynos_tmu.h header file
exynos_tmu.h is used only by exynos_tmu.c so there is no need for a separate include file.
Also while at it remove no longer needed cpu_cooling.h include.
There should be no functional changes caused by this patch.
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
Acked-by Daniel Lezcano <[email protected]>
---
Replacement patch for v1.
v2:
- Remove cpu_cooling.h include (as requested by Daniel)
- Add Acked-by from Daniel
drivers/thermal/samsung/exynos_tmu.c | 17 +++++++++++++- drivers/thermal/samsung/exynos_tmu.h | 41 ----------------------------------- 2 files changed, 16 insertions(+), 42 deletions(-)
drivers/thermal/samsung/exynos_tmu.c +16 -1
@@ -35,7 +35,8 @@#include <linux/platform_device.h> #include <linux/regulator/consumer.h> -#include "exynos_tmu.h" +#include <dt-bindings/thermal/thermal_exynos.h> +#include "../thermal_core.h" /* Exynos generic registers */
@@ -173,6 +174,20 @@#define EXYNOS_NOISE_CANCEL_MODE 4#define MCELSIUS 1000 + +enum soc_type { +SOC_ARCH_EXYNOS3250 =1 , +SOC_ARCH_EXYNOS4210 , +SOC_ARCH_EXYNOS4412 , +SOC_ARCH_EXYNOS5250 , +SOC_ARCH_EXYNOS5260 , +SOC_ARCH_EXYNOS5420 , +SOC_ARCH_EXYNOS5420_TRIMINFO , +SOC_ARCH_EXYNOS5433 , +SOC_ARCH_EXYNOS5440 , +SOC_ARCH_EXYNOS7 , +}; +/** * struct exynos_tmu_data : A structure to hold the private data of the TMU driver
drivers/thermal/samsung/exynos_tmu.h deleted +0 -41
41 lines not on this page · raw message