diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-12-03 09:37:51 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-07 02:20:22 +0100 |
commit | affde5d06af1e39c2929e36a063e3912f02fc58f (patch) | |
tree | 7430dfd5b481925a3692c99fb7f71c83fa105762 /drivers/cpufreq/cpufreq_governor.c | |
parent | e68fe18c5b5442baca162ccf3b273326e6132a51 (diff) | |
download | linux-affde5d06af1e39c2929e36a063e3912f02fc58f.tar.gz linux-affde5d06af1e39c2929e36a063e3912f02fc58f.tar.bz2 linux-affde5d06af1e39c2929e36a063e3912f02fc58f.zip |
cpufreq: governor: Pass policy as argument to ->gov_dbs_timer()
Pass 'policy' as argument to ->gov_dbs_timer() instead of cdbs and
dbs_data.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_governor.c')
-rw-r--r-- | drivers/cpufreq/cpufreq_governor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c index b260576ddb12..cdcb56a49b28 100644 --- a/drivers/cpufreq/cpufreq_governor.c +++ b/drivers/cpufreq/cpufreq_governor.c @@ -253,7 +253,7 @@ static void dbs_timer(struct work_struct *work) if (!need_load_eval(cdbs->shared, sampling_rate)) modify_all = false; - delay = dbs_data->cdata->gov_dbs_timer(cdbs, dbs_data, modify_all); + delay = dbs_data->cdata->gov_dbs_timer(policy, modify_all); gov_queue_work(dbs_data, policy, delay, modify_all); unlock: |