commit | 1cd91c1820801267b5579fa65842cdf843c73c4d | [log] [tgz] |
---|---|---|
author | Ulises Brindis <brindisu@lab126.com> | Fri Mar 25 12:55:41 2016 -0700 |
committer | Eduardo Valentin <edubezval@gmail.com> | Tue May 17 07:28:24 2016 -0700 |
tree | 4824374f73a5e5f9a93057bc0e3518e422ea1fb7 | |
parent | c212ed912b73f804d5f897ec0a84f58dfd3da9e1 [diff] |
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: Ulises Brindis <brindisu@lab126.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>