On Wed, 28 Aug 2024 15:38:24 +0800 Zhang Zekun <zhangzekun11@xxxxxxxxxx> wrote: > for_each_child_of_node_scoped() provides a scope-based cleanup > functinality to put the device_node automatically, and we don't need to > call of_node_put() directly. Let's simplify the code a bit with the > use of these functions. > > Signed-off-by: Zhang Zekun <zhangzekun11@xxxxxxxxxx> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>