Use helper function for_each_child_of_node_scoped()
authorMark Brown <broonie@kernel.org>
Mon, 9 Jun 2025 15:44:13 +0000 (16:44 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Jun 2025 15:44:13 +0000 (16:44 +0100)
commitd0bdcfcab39029c52c81d4126b1e1e1e91be93a9
tree24244db4e615fae8f1c0012428cb5daf1ca4f457
parent4388f5d214cb56833907c0b1f3ddf56ecd3c6d4e
parent111a2c8ab462d77d1519b71b46f13ae1b46920b4
Use helper function for_each_child_of_node_scoped()

Merge series from Ai Chao <aichao@kylinos.cn>:

This patch series introduces wrapper functions for_each_child_of_node_scoped().

The for_each_child_of_node_scoped() helper provides a scope-based clean-up
functionality to put the device_node automatically, and as such, there is
no need to call of_node_put() directly.