Messages in this thread | | | Date | Wed, 30 Apr 2014 09:36:55 +0530 | Subject | Re: [PATCH] cpufreq: intel_pstate: Remove sample parameter in intel_pstate_calc_busy | From | Viresh Kumar <> |
| |
On 29 April 2014 23:23, Stratos Karafotis <stratosk@semaphore.gr> wrote: > 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> > --- > drivers/cpufreq/intel_pstate.c | 11 ++++------- > 1 file changed, 4 insertions(+), 7 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
| |