UPSTREAM: drivers/thermal/devfreq_cooling: Use new Energy Model interface
Energy Model framework support modifications at runtime of the power values. Use the new EM table which is protected with RCU. Align the code so that this RCU read section is short. This change is not expected to alter the general functionality. Reviewed-by:Dietmar Eggemann <dietmar.eggemann@arm.com> Tested-by:
Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by:
Lukasz Luba <lukasz.luba@arm.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit 9b8d7332717be6478e2933b89ce4b37a3388d3c4) Signed-off-by:
Lukasz Luba <lukasz.luba@arm.com> Change-Id: I6516e62a3593cb4a76a7f1e87f5d7043897775eb
Loading
Please sign in to comment