Rob Herring a5737b2105 of: Use scope based of_node_put() cleanups
Use the relatively new scope based of_node_put() cleanup to simplify
function exit handling. Doing so reduces the chances of forgetting an
of_node_put() and simplifies error paths by avoiding the need for goto
statements.

Reviewed-by: Saravana Kannan <saravanak@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240409-dt-cleanup-free-v2-3-5b419a4af38d@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
2024-04-15 08:40:40 -05:00
..
2024-04-15 08:40:40 -05:00
2024-01-18 15:16:57 -08:00
2024-04-15 08:40:40 -05:00
2023-02-06 11:03:00 -06:00