Commit 49d6fee
committed
cpufreq: intel_pstate: Combine ->stop_cpu() and ->offline()
Combine the ->stop_cpu() and ->offline() callback routines for
intel_pstate in the active mode so as to avoid setting the
->stop_cpu callback pointer which is going to be dropped from
the framework.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>1 parent 3563f55 commit 49d6fee
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2532 | 2532 | | |
2533 | 2533 | | |
2534 | 2534 | | |
2535 | | - | |
| 2535 | + | |
2536 | 2536 | | |
2537 | 2537 | | |
2538 | 2538 | | |
| |||
2577 | 2577 | | |
2578 | 2578 | | |
2579 | 2579 | | |
2580 | | - | |
| 2580 | + | |
2581 | 2581 | | |
2582 | | - | |
2583 | | - | |
2584 | 2582 | | |
| 2583 | + | |
| 2584 | + | |
2585 | 2585 | | |
2586 | 2586 | | |
2587 | 2587 | | |
| |||
2654 | 2654 | | |
2655 | 2655 | | |
2656 | 2656 | | |
2657 | | - | |
2658 | 2657 | | |
2659 | 2658 | | |
2660 | 2659 | | |
| |||
2956 | 2955 | | |
2957 | 2956 | | |
2958 | 2957 | | |
2959 | | - | |
| 2958 | + | |
2960 | 2959 | | |
2961 | 2960 | | |
2962 | 2961 | | |
| |||
0 commit comments