commit | 3d3a1ae9b4bedc3e8c88ff4baeb0a195cb447fa1 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Jan 10 11:48:25 2020 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Jan 23 00:37:00 2020 +0100 |
tree | f6eeb3e7a7842f86caf50e958eb294061146cc50 | |
parent | 533da74a8c8d75af7958f4aa1abc944f061d1d85 [diff] |
intel_idle: Rearrange intel_idle_cpuidle_driver_init() Notice that intel_idle_state_table_update() only needs to be called if icpu is not NULL, so fold it into intel_idle_init_cstates_icpu(), and pass a pointer to the driver object to intel_idle_cpuidle_driver_init() as an argument instead of referencing it locally in there. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>