thermal: of: use for_each_available_child_of_node for child iterator
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 8 Feb 2016 13:28:34 +0000 (18:58 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 9 Feb 2016 22:01:18 +0000 (14:01 -0800)
commit42bbe400fbef6283a28227ea262a1145b27e957f
treef2e64388b9d22ba4901a539ec7b6d8b7b470a9df
parent765bdb406de4b6132e349c5d4e077866536a9cc0
thermal: of: use for_each_available_child_of_node for child iterator

Use for_each_available_child_of_node() for iterating over each
available child instead of iterating over each child and then
checking their status.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/of-thermal.c
This page took 0.025139 seconds and 5 git commands to generate.