diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-11-25 13:34:20 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-02 02:01:24 +0300 |
commit | 493b4cd285e68d8d8d5853a2536ea06f8cabeaeb (patch) | |
tree | 1bfd16d752e91131fdb009c87a53f73bbf8b6882 /drivers/cpufreq/arm_big_little_dt.c | |
parent | cc87b8a8e94d840863334151f3525fd286c9ae23 (diff) | |
download | linux-493b4cd285e68d8d8d5853a2536ea06f8cabeaeb.tar.xz |
cpufreq: arm_big_little: free OPP table created during ->init()
OPP layer now supports freeing of OPPs and we should free them once they aren't
useful anymore.
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/arm_big_little_dt.c')
-rw-r--r-- | drivers/cpufreq/arm_big_little_dt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/arm_big_little_dt.c b/drivers/cpufreq/arm_big_little_dt.c index 4550f6976768..ef0b3f1324d5 100644 --- a/drivers/cpufreq/arm_big_little_dt.c +++ b/drivers/cpufreq/arm_big_little_dt.c @@ -82,6 +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, }; static int generic_bL_probe(struct platform_device *pdev) |