Skip to content
Commit b96f0384 authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Rafael J. Wysocki
Browse files

cpufreq: Fix cpufreq_online() return value on errors



Make cpufreq_online() return negative error codes on all errors that
cause the policy to be destroyed, as appropriate.

Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent ec06e586
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment