summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/intel_pstate.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2020-06-29 15:34:40 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-07-02 13:03:31 +0200
commit3a7e4fbbfd1a266ceea33e9b48f77f233ac994ac (patch)
tree5546159d40347a8c8febe6f9be8136c61e1dc593 /drivers/cpufreq/intel_pstate.c
parent8412b4563e5910485c7bcd4fdcd8bcc3e728284c (diff)
downloadlinux-stable-3a7e4fbbfd1a266ceea33e9b48f77f233ac994ac.tar.gz
linux-stable-3a7e4fbbfd1a266ceea33e9b48f77f233ac994ac.tar.bz2
linux-stable-3a7e4fbbfd1a266ceea33e9b48f77f233ac994ac.zip
cpufreq: Remove the weakly defined cpufreq_default_governor()
The default cpufreq governor is chosen with the help of a "choice" option in the Kconfig which will always end up selecting one of the governors and so the weakly defined definition of cpufreq_default_governor() will never get called. Moreover, this makes us skip the checking of the return value of that routine as it will always be non NULL. If the Kconfig option changes in future, then we will start getting a link error instead (and it won't go unnoticed as in the case of the weak definition). Suggested-by: Quentin Perret <qperret@google.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
0 files changed, 0 insertions, 0 deletions