Repository navigation
Commit 6b17ddb
intel_pstate: Remove sample parameter in intel_pstate_calc_busy
Since commit d37e2b7 ("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>1 parent 735dc24 commit 6b17ddb
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
553 | 551 | | |
554 | 552 | | |
555 | 553 | | |
556 | | - | |
557 | | - | |
| 554 | + | |
558 | 555 | | |
| 556 | + | |
559 | 557 | | |
560 | 558 | | |
561 | 559 | | |
562 | | - | |
563 | | - | |
| 560 | + | |
564 | 561 | | |
565 | 562 | | |
566 | 563 | | |
| |||
592 | 589 | | |
593 | 590 | | |
594 | 591 | | |
595 | | - | |
| 592 | + | |
596 | 593 | | |
597 | 594 | | |
598 | 595 | | |
| |||
0 commit comments