summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-12 15:13:35 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-18 02:27:32 +0200
commit36be3418eb769c66bc16eb1c9b402591cf1219b7 (patch)
treef4ce2eab966b71b5644f79306e135cd9c52ff634 /scripts
parentintel_pstate: Simplify conditional in intel_pstate_set_policy() (diff)
downloadlinux-36be3418eb769c66bc16eb1c9b402591cf1219b7.tar.xz
linux-36be3418eb769c66bc16eb1c9b402591cf1219b7.zip
cpufreq: governor: CPUFREQ_GOV_POLICY_EXIT never fails
None of the cpufreq governors currently in the tree will ever fail an invocation of the ->governor() callback with the event argument equal to CPUFREQ_GOV_POLICY_EXIT (unless invoked with incorrect arguments which doesn't matter anyway) and it wouldn't really make sense to fail it, because the caller won't be able to handle that failure in a meaningful way. Accordingly, rearrange the code in the core to make it clear that this call never fails. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions