]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 9 Feb 2016 20:34:54 +0000 (21:34 +0100)
commit643db0b9a2c770a396fdaa557e95f4dd840b085d
tree9246281bc108b711766931208d8396c257e9227a
parent73494f86f2e3b7ebaa0ad2147948ca7d81661036
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