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: Zhang Zekun <zhangzekun11@huawei.com> Link: https://lore.kernel.org/r/20240830020626.115933-4-zhangzekun11@huawei.comSigned-off-by: Rob Herring (Arm) <robh@kernel.org>
Showing
Please register or sign in to comment