diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2021-09-01 12:11:57 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-09-02 19:04:17 +0300 |
commit | 4bf8e582119ed9767f907abb6dc62ef9dddf10df (patch) | |
tree | d9d1ec4ce4b8fc4dc9140e3e2ab2db5cd52b8c5c /drivers/cpufreq/cpufreq.c | |
parent | 9ab0a6cb76b998f5f2231e1c428bee3771893002 (diff) | |
download | linux-4bf8e582119ed9767f907abb6dc62ef9dddf10df.tar.xz |
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.c | 4 |
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); |