summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/arm_big_little_dt.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-02 00:54:37 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-02 00:54:37 +0100
commit394f7164e65a734f815543d918c7bdc0587593a6 (patch)
tree19e57816a0c95a67e5f8cd20276673bc69df0556 /drivers/cpufreq/arm_big_little_dt.c
parentdcf3d0183f100a14f60eb5993e124a4a1322ee9a (diff)
parenta6eed752f5fb40990eb28fddb2b93258fb7e3be0 (diff)
downloadtalos-op-linux-394f7164e65a734f815543d918c7bdc0587593a6.tar.gz
talos-op-linux-394f7164e65a734f815543d918c7bdc0587593a6.zip
Merge branch 'pm-opp'
* pm-opp: PM / OPP: passing NULL to PTR_ERR() PM / OPP: Move cpu specific code to opp/cpu.c PM / OPP: Move opp core to its own directory PM / OPP: Prefix exported opp routines with dev_pm_opp_ PM / OPP: Rename opp init/free table routines PM / OPP: reuse of_parse_phandle()
Diffstat (limited to 'drivers/cpufreq/arm_big_little_dt.c')
-rw-r--r--drivers/cpufreq/arm_big_little_dt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/arm_big_little_dt.c b/drivers/cpufreq/arm_big_little_dt.c
index 36d91dba2965..16ddeefe9443 100644
--- a/drivers/cpufreq/arm_big_little_dt.c
+++ b/drivers/cpufreq/arm_big_little_dt.c
@@ -54,7 +54,7 @@ static int dt_init_opp_table(struct device *cpu_dev)
return -ENOENT;
}
- ret = of_init_opp_table(cpu_dev);
+ ret = dev_pm_opp_of_add_table(cpu_dev);
of_node_put(np);
return ret;
@@ -82,7 +82,7 @@ static struct cpufreq_arm_bL_ops dt_bL_ops = {
.name = "dt-bl",
.get_transition_latency = dt_get_transition_latency,
.init_opp_table = dt_init_opp_table,
- .free_opp_table = of_free_opp_table,
+ .free_opp_table = dev_pm_opp_of_remove_table,
};
static int generic_bL_probe(struct platform_device *pdev)
OpenPOWER on IntegriCloud