| commit | 9f3d6daf61e5156139cd05643f7f1c2a9b7b49b0 | [log] [tgz] |
|---|---|---|
| author | Rafael J. Wysocki <[email protected]> | Fri Dec 13 09:55:52 2019 +0100 |
| committer | Rafael J. Wysocki <[email protected]> | Fri Dec 27 11:02:07 2019 +0100 |
| tree | 8ec73b4ba51d4c6626a8e70f3ca76931159d016d | |
| parent | 77fb4e0a559a960eb36d0b2c50c781c5492577eb [diff] |
intel_idle: Refactor intel_idle_cpuidle_driver_init() Move the C-state verification and checks from intel_idle_cpuidle_driver_init() to a separate function, intel_idle_verify_cstate(), and make the former call it after checking the CPUIDLE_FLAG_UNUSABLE state flag. Also combine the drv->states[] updates with the incrementation of drv->state_count. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]>