commit | 7034764a1e4a6edbb60914e89aad8384e3fe5d17 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Mon Jan 23 10:11:46 2017 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jan 30 09:22:21 2017 +0100 |
tree | b12ca30409bb79882cc25cae16beeeed236d4b9c | |
parent | b83c1899a0e98cabd0997531434e1fb3b6574db8 [diff] |
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>