diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-01-23 05:41:46 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-01-30 09:22:21 +0100 |
commit | 7034764a1e4a6edbb60914e89aad8384e3fe5d17 (patch) | |
tree | b12ca30409bb79882cc25cae16beeeed236d4b9c /drivers/devfreq | |
parent | PM / OPP: Use dev_pm_opp_get_opp_table() instead of _add_opp_table() (diff) | |
download | linux-7034764a1e4a6edbb60914e89aad8384e3fe5d17.tar.xz linux-7034764a1e4a6edbb60914e89aad8384e3fe5d17.zip |
PM / OPP: Add 'struct kref' to struct dev_pm_opp
Add kref to struct dev_pm_opp for easier accounting of the OPPs.
Note that the OPPs are freed under the opp_table->lock mutex only.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions