From: Unsung Lee Date: Tue, 14 Jan 2025 05:08:00 +0000 (+0900) Subject: hal-backend-power: Replace prefix from 'pass' to 'hal_power' X-Git-Tag: accepted/tizen/9.0/unified/20250116.015846^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_9.0;p=platform%2Fhal%2Fbackend%2Fvim3%2Fpower-vim3.git hal-backend-power: Replace prefix from 'pass' to 'hal_power' 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: I64ed7311d4d98a94d86ced23ef4a88a729995a8c Signed-off-by: Unsung Lee --- diff --git a/src/hal-backend-power.c b/src/hal-backend-power.c index 9d19062..e18ee7c 100644 --- a/src/hal-backend-power.c +++ b/src/hal-backend-power.c @@ -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,