cpufreq: pass policy to cpufreq_out_of_sync
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 2 Jan 2015 07:04:28 +0000 (12:34 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 21:49:34 +0000 (22:49 +0100)
commita1e1dc41c4efb41e1e402a6b5a45b75687030664
treea917ef9aedce304fa1302b5448b40ff0bada6f61
parent2e1cc3a5d7efa42d3aa4aaa77b9b2c3a51bb6073
cpufreq: pass policy to cpufreq_out_of_sync

There is no point finding out the 'policy' again within cpufreq_out_of_sync()
when all the callers already have it. Just make them pass policy instead.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c