summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-13 22:59:27 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-30 12:34:16 (GMT)
commitd6ff44d647a9c63911983da9979961fde306b3aa (patch)
tree1816b50de3b3a99cafbef84a9cb0ad5c6599c049 /arch
parent1a695a905c18548062509178b98bc91e67510864 (diff)
downloadlinux-d6ff44d647a9c63911983da9979961fde306b3aa.tar.xz
cpufreq: governor: CPUFREQ_GOV_LIMITS 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_LIMITS (unless invoked with incorrect arguments which doesn't matter anyway) and had it ever failed, the result of it wouldn't have been very clean. For this reason, rearrange the code in the core to ignore the return value of cpufreq_governor() when called with event equal to CPUFREQ_GOV_LIMITS. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions