hal-backend-power: Replace prefix from 'pass' to 'hal_power' 40/318240/1 accepted/tizen_9.0_unified tizen_9.0 accepted/tizen/9.0/unified/20250116.015851
authorUnsung Lee <unsung.lee@samsung.com>
Tue, 14 Jan 2025 11:57:20 +0000 (20:57 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 14 Jan 2025 12:01:28 +0000 (21:01 +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: I58a53d66dff5c8ef3102512e42164053ee09f0e7
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/hal-backend-power.c

index aa0a72e6787ecca7dc77f20ef8abe5f20e275dd4..357c2e12492ac6dae8536eef9c6971ae492228a0 100644 (file)
@@ -288,7 +288,7 @@ static int cpufreq_dvfs_set_up_threshold(char *res_name, int up_threshold)
        return 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,
@@ -354,7 +354,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,
@@ -413,7 +413,7 @@ static int tmu_get_policy(char *res_thermal_name, char *policy)
        return 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,
 };
@@ -619,7 +619,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,