summaryrefslogtreecommitdiffstats
path: root/include/linux/cpufreq.h
diff options
context:
space:
mode:
authorStratos Karafotis <stratosk@semaphore.gr>2014-04-29 20:53:49 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-05-07 00:29:51 +0200
commit6b17ddb2a50b9403c6948ec3e4ea2bd2d7064ff3 (patch)
treee5901ec21bbf82569076a6acebe456713ed42e4f /include/linux/cpufreq.h
parent735dc2498bd97b22e465dd4054d1b7edb9f63ed2 (diff)
downloadop-kernel-dev-6b17ddb2a50b9403c6948ec3e4ea2bd2d7064ff3.zip
op-kernel-dev-6b17ddb2a50b9403c6948ec3e4ea2bd2d7064ff3.tar.gz
intel_pstate: Remove sample parameter in intel_pstate_calc_busy
Since commit d37e2b7644 ("intel_pstate: remove unneeded sample buffers") we use only one sample. So, there is no need to pass the sample pointer to intel_pstate_calc_busy. Instead, get the pointer from cpudata. Also, remove the unused SAMPLE_COUNT macro. While at it, reformat the first line in this function. Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/cpufreq.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud