Re: [PATCH 06/12] PM / OPP: Add 'struct kref' to struct dev_pm_opp
From: Stephen Boyd
Date: Mon Jan 09 2017 - 18:44:34 EST
On 12/07, Viresh Kumar wrote:
> 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.
I'm lost. Why add another level of krefs?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project