diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-02-07 16:05:07 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-03-09 14:40:54 +0100 |
commit | 7bdad34d0890b69c30e8c6a50c9c2311a839fd68 (patch) | |
tree | f847b756721923e512e7be68ad09f7bbbfaf3396 /drivers/cpufreq/amd_freq_sensitivity.c | |
parent | af926185231a6e30d11a6035410b61405e203c3b (diff) | |
download | linux-7bdad34d0890b69c30e8c6a50c9c2311a839fd68.tar.gz linux-7bdad34d0890b69c30e8c6a50c9c2311a839fd68.tar.bz2 linux-7bdad34d0890b69c30e8c6a50c9c2311a839fd68.zip |
cpufreq: governor: Rename some data types and variables
The ondemand and conservative governors are represented by
struct common_dbs_data whose name doesn't reflect the purpose it
is used for, so rename it to struct dbs_governor and rename
variables of that type accordingly.
No functional changes.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/amd_freq_sensitivity.c')
-rw-r--r-- | drivers/cpufreq/amd_freq_sensitivity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/amd_freq_sensitivity.c b/drivers/cpufreq/amd_freq_sensitivity.c index f6b79ab0070b..a7d237b386d3 100644 --- a/drivers/cpufreq/amd_freq_sensitivity.c +++ b/drivers/cpufreq/amd_freq_sensitivity.c @@ -48,7 +48,7 @@ static unsigned int amd_powersave_bias_target(struct cpufreq_policy *policy, struct dbs_data *od_data = policy->governor_data; struct od_dbs_tuners *od_tuners = od_data->tuners; struct od_cpu_dbs_info_s *od_info = - od_data->cdata->get_cpu_dbs_info_s(policy->cpu); + od_data->gov->get_cpu_dbs_info_s(policy->cpu); if (!od_info->freq_table) return freq_next; |