cpufreq: governor: Drop cpu argument from dbs_check_cpu()
Since policy->cpu is always passed as the second argument to dbs_check_cpu(), it is not really necessary to pass it, because the function can obtain that value via its first argument just fine. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
@@ -279,7 +279,7 @@ static ssize_t show_sampling_rate_min_gov_pol \
|
||||
|
||||
extern struct mutex dbs_data_mutex;
|
||||
extern struct mutex cpufreq_governor_lock;
|
||||
void dbs_check_cpu(struct cpufreq_policy *policy, int cpu);
|
||||
void dbs_check_cpu(struct cpufreq_policy *policy);
|
||||
int cpufreq_governor_dbs(struct cpufreq_policy *policy, unsigned int event);
|
||||
void od_register_powersave_bias_handler(unsigned int (*f)
|
||||
(struct cpufreq_policy *, unsigned int, unsigned int),
|
||||
|
Reference in New Issue
Block a user