]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: fix multiple disbalanced device node counters
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 28 Sep 2014 23:47:46 +0000 (02:47 +0300)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 3 Nov 2014 03:02:49 +0000 (23:02 -0400)
commit0942415a68f0901bde898ca79e5115df887f5063
tree98406df3174eb327288857006fb1d00a0c5d658a
parentc83331c3e12e44429dfdd6c3b6333d0163187e97
thermal: fix multiple disbalanced device node counters

Here on function return all temporarily used device nodes shall
decrement their usage counter. The problems are found with device
nodes allocated by for_each_child_of_node(), of_parse_phandle()
and of_find_node_by_name(), fix all problems at once.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Cc: devicetree@vger.kernel.org
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/of-thermal.c