cpufreq: governor: Drop cpu argument from dbs_check_cpu()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 6 Feb 2016 12:50:24 +0000 (13:50 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Mar 2016 13:40:55 +0000 (14:40 +0100)
commitd10b5eb5fce436ba22443ab83eeb36e195dbf772
tree69d4b67ea294fa056c5e583b82bedae1c42edb24
parente40e7b255e591d0448500c7910ec5693f58026bd
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>
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_governor.c
drivers/cpufreq/cpufreq_governor.h
drivers/cpufreq/cpufreq_ondemand.c