]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clocksource/drivers/arm_arch_timer: Using for_each_available_child_of_node_scoped()
authorZhang Zekun <zhangzekun11@huawei.com>
Wed, 7 Aug 2024 07:46:55 +0000 (15:46 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 6 Sep 2024 12:49:20 +0000 (14:49 +0200)
commita7456d7d1b8e781fdaa16c10947bd2363c6fd342
tree2e5e2591c85b88a5e00c91d17abfdfc6a38c0663
parent0c87282074be532eedc8d14ff4420c585c5c57fe
clocksource/drivers/arm_arch_timer: Using for_each_available_child_of_node_scoped()

for_each_available_child_of_node_scoped() can put the device_node
automatically. So, using it to make the code logic more simple and
remove the device_node clean up code.

Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Link: https://lore.kernel.org/r/20240807074655.52157-1-zhangzekun11@huawei.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/arm_arch_timer.c