summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-09-01 11:11:57 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-09-02 18:04:17 +0200
commit4bf8e582119ed9767f907abb6dc62ef9dddf10df (patch)
treed9d1ec4ce4b8fc4dc9140e3e2ab2db5cd52b8c5c /drivers/cpufreq/cpufreq.c
parentcpufreq: sh: Remove sh_cpufreq_cpu_ready() (diff)
downloadlinux-4bf8e582119ed9767f907abb6dc62ef9dddf10df.tar.xz
linux-4bf8e582119ed9767f907abb6dc62ef9dddf10df.zip
cpufreq: Remove ready() callback
This isn't used anymore, get rid of it. 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/cpufreq.c')
-rw-r--r--drivers/cpufreq/cpufreq.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 7d5f170ecad1..5782b15a8caa 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -1517,10 +1517,6 @@ static int cpufreq_online(unsigned int cpu)
kobject_uevent(&policy->kobj, KOBJ_ADD);
- /* Callback for handling stuff after policy is ready */
- if (cpufreq_driver->ready)
- cpufreq_driver->ready(policy);
-
if (cpufreq_thermal_control_enabled(cpufreq_driver))
policy->cdev = of_cpufreq_cooling_register(policy);