Skip to content
Snippets Groups Projects
Commit e7b06a09 authored by Gaurav Jindal's avatar Gaurav Jindal Committed by Rafael J. Wysocki
Browse files

cpuidle: Clean up cpuidle_enable_device() error handling a bit


Do not fetch per CPU drv if cpuidle_curr_governor is NULL
to avoid useless per CPU processing.

Signed-off-by: default avatarGaurav Jindal <gauravjindal1104@gmail.com>
[ rjw: Subject & changelog ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent c523c68d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment