]> git.baikalelectronics.ru Git - kernel.git/commit
macintosh: smu_sensors: use for_each_child_of_node() macro
authorQinglang Miao <miaoqinglang@huawei.com>
Wed, 16 Sep 2020 06:21:25 +0000 (14:21 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Sep 2020 09:59:44 +0000 (19:59 +1000)
commit48705f582c42724c99584d80b0115e3ce229337a
tree62aa314bc4d0edc0188fa79e18b94dd189ffb255
parentee341a2248017796c70d3f8e217a1d323c6a571d
macintosh: smu_sensors: use for_each_child_of_node() macro

Use for_each_child_of_node() macro instead of open coding it.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200916062125.190729-1-miaoqinglang@huawei.com
drivers/macintosh/windfarm_smu_sensors.c