diff options
author | Youngjae Cho <y0.cho@samsung.com> | 2021-08-02 14:32:27 +0900 |
---|---|---|
committer | Youngjae Cho <y0.cho@samsung.com> | 2021-08-02 14:32:27 +0900 |
commit | 1b919cdd18bb0f17ecb7db3a8db76a10ecdd7411 (patch) | |
tree | aa4397031013694338347160f8acb66460c224f9 | |
parent | e5555f018a4cfac3c09b851432883b20c1656479 (diff) | |
download | device-tw3-1b919cdd18bb0f17ecb7db3a8db76a10ecdd7411.tar.gz device-tw3-1b919cdd18bb0f17ecb7db3a8db76a10ecdd7411.tar.bz2 device-tw3-1b919cdd18bb0f17ecb7db3a8db76a10ecdd7411.zip |
thermal: rename device_thermal_e to hal_device_thermal_etizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163201submit/tizen/20210802.064402accepted/tizen/unified/20210804.085702accepted/tizen/6.5/unified/20211028.115650
Change-Id: I88b4f8dd4a1c3fcb4f20d3a50e1bce329c7891ab
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rw-r--r-- | hw/thermal/thermal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/thermal/thermal.c b/hw/thermal/thermal.c index 0daf0a7..65a4c87 100644 --- a/hw/thermal/thermal.c +++ b/hw/thermal/thermal.c @@ -38,7 +38,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]; @@ -48,7 +48,7 @@ static int thermal_get_info(device_thermal_e type, struct thermal_info *info) if (!info) return -EINVAL; - if (type == DEVICE_THERMAL_BATTERY) + if (type == HAL_DEVICE_THERMAL_BATTERY) fp = fopen(BATTERY_PATH, "r"); else fp = fopen(AP_PATH, "r"); @@ -90,7 +90,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; |