From: Stratos Karafotis Date: Tue, 29 Apr 2014 17:53:49 +0000 (+0300) Subject: intel_pstate: Remove sample parameter in intel_pstate_calc_busy X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~5^2~1^2^2~13^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b17ddb2a50b9403c6948ec3e4ea2bd2d7064ff3;p=pandora-kernel.git 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 Acked-by: Viresh Kumar Acked-by: Dirk Brandewie Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed