]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit823084f696df25b22bac08ee443dc0825adcc4e7
treef2e64388b9d22ba4901a539ec7b6d8b7b470a9df
parent7386df36db3efb975a79279f5fa1faad13dab4e6
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