hal-backend-power: Replace prefix from 'pass' to 'hal_power' 31/318231/1 accepted/tizen_9.0_unified tizen_9.0 accepted/tizen/9.0/unified/20250116.015850
authorUnsung Lee <unsung.lee@samsung.com>
Tue, 14 Jan 2025 05:21:17 +0000 (14:21 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 14 Jan 2025 09:53:15 +0000 (18:53 +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: I1fc6a80a9f3c0b9e0951d225862bdd39c5b001bc
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/hal-backend-power.c

index 24f79be345bfa6decc52c83bed3b915340c990ad..2fe8c947e12d3ca1cb7b179735fcb77f6a4ecdf5 100644 (file)
@@ -248,7 +248,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,
@@ -314,7 +314,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,
 };
@@ -353,7 +353,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,
 };
@@ -422,13 +422,13 @@ static int gpu_dvfs_get_curr_freq(char *res_name)
        return (ret < 0) ? ret : (freq * 1000);
 }
 
-static struct pass_resource_dvfs_ops bus_dvfs_ops =  {
+static struct hal_power_resource_dvfs_ops bus_dvfs_ops =  {
        .get_curr_freq = bus_dvfs_get_curr_freq,
        .get_min_freq = bus_dvfs_get_curr_freq,
        .get_max_freq = bus_dvfs_get_curr_freq,
 };
 
-static struct pass_resource_dvfs_ops gpu_dvfs_ops =  {
+static struct hal_power_resource_dvfs_ops gpu_dvfs_ops =  {
        .get_curr_freq = gpu_dvfs_get_curr_freq,
        .get_min_freq = gpu_dvfs_get_min_freq,
        .get_max_freq = gpu_dvfs_get_max_freq,