thermal: rename device_thermal_e to hal_device_thermal_e 48/262048/1 accepted/tizen/6.5/unified/20211028.115751 accepted/tizen/unified/20210804.085652 submit/tizen/20210802.064402 submit/tizen_6.5/20211028.163201 tizen_6.5.m2_release
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 2 Aug 2021 05:33:32 +0000 (14:33 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 2 Aug 2021 05:33:32 +0000 (14:33 +0900)
Change-Id: I1c676693908b1ab87e090ef7c6e9d7df4fd83f3c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
hw/thermal/thermal.c

index 832a426cafd124fb39e4a32a5d1ed8dd356ee03e..5a3f5f9ee4a97b301b3abe116943784bcefcdb66 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;