thermal: rename device_thermal_e to hal_device_thermal_e 45/262045/1 accepted/tizen_unified tizen accepted/tizen/6.5/unified/20211028.115258 accepted/tizen/unified/20210804.085633 submit/tizen/20210802.064402 submit/tizen_6.5/20211028.163201 submit/tizen_6.5/20220504.075813 submit/tizen_6.5/20220504.080738 tizen_6.5.m2_release
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 2 Aug 2021 05:29:57 +0000 (14:29 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 2 Aug 2021 05:29:57 +0000 (14:29 +0900)
Change-Id: I02d8d4f3a1f43a9b15e1b6e96aec09895b3a0b54
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
hw/thermal/thermal.c

index 29751c74e9c99f835b9ecd69195efdb5e8afd9e2..f21c08c4fe466c4cad2abc76d13fcdcf3f36b681 100644 (file)
@@ -37,7 +37,7 @@ static struct event_data {
 
 static guint timer;
 
-static int thermal_get_info(device_thermal_e type, struct thermal_info *info)
+static int thermal_get_info(hal_device_thermal_e type, struct thermal_info *info)
 {
        FILE *fp;
        char buf[32];
@@ -72,7 +72,7 @@ static gboolean thermal_timeout(gpointer data)
        struct thermal_info info;
        int ret;
 
-       ret = thermal_get_info(DEVICE_THERMAL_AP, &info);
+       ret = thermal_get_info(HAL_DEVICE_THERMAL_AP, &info);
        if (ret < 0) {
                _E("Failed to read thermal info(%d)", ret);
                return G_SOURCE_CONTINUE;