Skip to content
Commit 1cd91c18 authored by Ulises Brindis's avatar Ulises Brindis Committed by Eduardo Valentin
Browse files

thermal: of: fix cleanup when building a thermal zone



of_node_put is iterating through all terms in the tbps array even though
the bind has failed. We need to only iterate through the terms that have
already passed the binding step.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: default avatarUlises Brindis <brindisu@lab126.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent c212ed91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment