summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-04-27 06:22:26 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-28 16:22:43 +0300
commiteb96924acddc709db58221c210ca05cd9effb1df (patch)
treeb2103d16226767aba469906ea8fa2ae05080a18a /drivers/cpufreq
parent947bd567f7a5185325a8f85e5235cf1145bd4417 (diff)
downloadlinux-eb96924acddc709db58221c210ca05cd9effb1df.tar.xz
cpufreq: dt: Kill platform-data
There are no more users of platform-data for cpufreq-dt driver, get rid of it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq-dt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c
index aca9bec00f91..3957de801ae8 100644
--- a/drivers/cpufreq/cpufreq-dt.c
+++ b/drivers/cpufreq/cpufreq-dt.c
@@ -15,7 +15,6 @@
#include <linux/cpu.h>
#include <linux/cpu_cooling.h>
#include <linux/cpufreq.h>
-#include <linux/cpufreq-dt.h>
#include <linux/cpumask.h>
#include <linux/err.h>
#include <linux/module.h>
@@ -217,10 +216,7 @@ static int cpufreq_init(struct cpufreq_policy *policy)
}
if (fallback) {
- struct cpufreq_dt_platform_data *pd = cpufreq_get_driver_data();
-
- if (!pd || !pd->independent_clocks)
- cpumask_setall(policy->cpus);
+ cpumask_setall(policy->cpus);
/*
* OPP tables are initialized only for policy->cpu, do it for