hal-backend-power: Replace prefix from 'pass' to 'hal_power' 96/318196/1 accepted/tizen_unified_x_asan accepted/tizen/unified/20250115.124155 accepted/tizen/unified/x/20250115.142733 accepted/tizen/unified/x/asan/20250211.003538
authorUnsung Lee <unsung.lee@samsung.com>
Tue, 14 Jan 2025 05:17:42 +0000 (14:17 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 14 Jan 2025 06:02:32 +0000 (15:02 +0900)
Replace prefix of structure from 'pass' to 'hal_power'.
This is because the structure of hal-api-power name prefix is changed
from pass to hal_power.

Change-Id: Ic0ac1601273cb4d3305e423c0c73e2bcbfee9ff2
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/hal-backend-power.c

index 10f363d8c22c902eadbaa3297e65b58cd242cef0..24ed2f03a10c7fa6500b155d88b26f29400bb163 100644 (file)
@@ -257,7 +257,7 @@ static int cpufreq_dvfs_set_up_threshold(char *res_name, int up_threshold)
        return (ret < 0) ? ret : 0;
 }
 
-static struct pass_resource_dvfs_ops cpufreq_dvfs_ops =  {
+static struct hal_power_resource_dvfs_ops cpufreq_dvfs_ops =  {
        .get_curr_governor = cpufreq_dvfs_get_curr_governor,
        .set_curr_governor = cpufreq_dvfs_set_curr_governor,
        .get_curr_freq = cpufreq_dvfs_get_curr_freq,
@@ -323,7 +323,7 @@ static int cpu_hotplug_set_online_state(char *res_name, int cpu, int on)
        return 0;
 }
 
-static struct pass_resource_hotplug_ops cpu_hotplus_ops = {
+static struct hal_power_resource_hotplug_ops cpu_hotplus_ops = {
        .get_online_state = cpu_hotplug_get_online_state,
        .set_online_state = cpu_hotplug_set_online_state,
        .get_online_min_num = NULL,
@@ -366,7 +366,7 @@ static int tmu_get_policy(char *res_thermal_name, char *policy)
        return (ret < 0) ? ret : 0;
 }
 
-static struct pass_resource_tmu_ops tmu_ops = {
+static struct hal_power_resource_tmu_ops tmu_ops = {
        .get_temp = tmu_get_temp,
        .get_policy = tmu_get_policy,
 };
@@ -492,7 +492,7 @@ static int devfreq_dvfs_get_available_max_freq(char *res_name)
        return ret;
 }
 
-static struct pass_resource_dvfs_ops devfreq_dvfs_ops =  {
+static struct hal_power_resource_dvfs_ops devfreq_dvfs_ops =  {
        .get_curr_governor = devfreq_dvfs_get_curr_governor,
        .set_curr_governor = devfreq_dvfs_set_curr_governor,
        .get_curr_freq = devfreq_dvfs_get_curr_freq,