Skip to content

Commit

Permalink
cpufreq: dt: Kill platform-data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vireshk authored and rafaeljw committed Apr 28, 2016
1 parent 947bd56 commit eb96924
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
6 changes: 1 addition & 5 deletions drivers/cpufreq/cpufreq-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand Down
24 changes: 0 additions & 24 deletions include/linux/cpufreq-dt.h

This file was deleted.

0 comments on commit eb96924

Please sign in to comment.