Commit 69b86003 authored by Zhang Zekun's avatar Zhang Zekun Committed by Rob Herring (Arm)
Browse files

of: property: Do some clean up with use of __free()



__free() provides a scoped of_node_put() functionality 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 __free().

Signed-off-by: default avatarZhang Zekun <zhangzekun11@huawei.com>
Link: https://lore.kernel.org/r/20240830020626.115933-4-zhangzekun11@huawei.com


Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent 0a543ac5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment