[COMMON] thermal : Change debug from ess to dss.
authorChungwoo Park <cww.park@samsung.com>
Tue, 15 May 2018 08:30:20 +0000 (17:30 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:37:39 +0000 (17:37 +0900)
Change-Id: I21762b0b0d85b282830336d6e8085cc144afbbcd
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
drivers/thermal/samsung/exynos_tmu.c

index 58fd3771eee8759566cb50358fbd409fab62dd84..2d56cdd1742b46e5e690bd083c6baf22f06b60ff 100644 (file)
@@ -42,7 +42,7 @@
 #include <linux/isp_cooling.h>
 #include <linux/slab.h>
 #include <linux/debugfs.h>
-#include <linux/exynos-ss.h>
+#include <linux/debug-snapshot.h>
 #include <soc/samsung/tmu.h>
 #include <soc/samsung/ect_parser.h>
 #ifdef CONFIG_EXYNOS_MCINFO
@@ -826,7 +826,7 @@ static int exynos_get_temp(void *p, int *temp)
        mutex_unlock(&thermal_suspend_lock);
 #endif
 
-       exynos_ss_thermal(data->pdata, *temp / 1000, data->tmu_name, 0);
+       dbg_snapshot_thermal(data->pdata, *temp / 1000, data->tmu_name, 0);
 #ifdef CONFIG_EXYNOS_MCINFO
        if (data->id == 0) {
                mcinfo_count = get_mcinfo_base_count();
@@ -840,7 +840,7 @@ static int exynos_get_temp(void *p, int *temp)
                }
 
                if (mcinfo_logging == 1)
-                       exynos_ss_thermal(NULL, mcinfo_temp, "MCINFO", 0);
+                       dbg_snapshot_thermal(NULL, mcinfo_temp, "MCINFO", 0);
        }
 #endif
        return 0;