Skip to content
Snippets Groups Projects
Commit 3d3a1ae9 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

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: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 533da74a
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment