mbox series

[0/3] Do some cleanup with use of __free()

Message ID 20240830020626.115933-1-zhangzekun11@huawei.com
Headers show
Series Do some cleanup with use of __free() | expand

Message

Zhang Zekun Aug. 30, 2024, 2:06 a.m. UTC
__free() provides a scoped of_node_put() functionality to put the
device_node automatically. Let's simplify the code a bit with use of
__free().

Zhang Zekun (3):
  of: device: Do some clean up with use of __free()
  of: irq: Do some clean up with use of __free()
  of: property: Do some clean up with use of __free()

 drivers/of/device.c   |  7 +++----
 drivers/of/irq.c      | 15 +++++----------
 drivers/of/property.c | 28 ++++++++--------------------
 3 files changed, 16 insertions(+), 34 deletions(-)