From: Youngjae Cho Date: Mon, 2 Aug 2021 05:29:57 +0000 (+0900) Subject: thermal: rename device_thermal_e to hal_device_thermal_e X-Git-Tag: submit/tizen/20210802.064402^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified;p=platform%2Fhal%2Fbackend%2Fartik%2Fdevice-artik.git thermal: rename device_thermal_e to hal_device_thermal_e Change-Id: I02d8d4f3a1f43a9b15e1b6e96aec09895b3a0b54 Signed-off-by: Youngjae Cho --- diff --git a/hw/thermal/thermal.c b/hw/thermal/thermal.c index 29751c7..f21c08c 100644 --- a/hw/thermal/thermal.c +++ b/hw/thermal/thermal.c @@ -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;