commit | 38393409da345cd48d94a0e74c7bbc3402742882 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Nov 25 16:04:18 2014 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Nov 29 23:53:20 2014 +0100 |
tree | acaf242fb38292ed5c4c401beb375126c40bb033 | |
parent | a7470db6fec481b14afea117846fce383671ba59 [diff] |
PM / OPP mark OPPs as 'static' or 'dynamic' Static OPPs are the ones created from Device Tree entries and dynamic are the ones created at runtime by calling dev_pm_opp_add(). There is a need to distinguish them as we need to free static OPPs from cpufreq drivers when they are removed. So, add another field 'dynamic' in 'struct dev_pm_opp' to keep this information. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>