All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Do some cleanup with use of __free()
@ 2024-08-30  2:06 Zhang Zekun
  2024-08-30  2:06 ` [PATCH 1/3] of: device: Do some clean up " Zhang Zekun
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Zhang Zekun @ 2024-08-30  2:06 UTC (permalink / raw)
  To: robh, saravanak, devicetree, zhangzekun11

__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(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-09-12 20:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30  2:06 [PATCH 0/3] Do some cleanup with use of __free() Zhang Zekun
2024-08-30  2:06 ` [PATCH 1/3] of: device: Do some clean up " Zhang Zekun
2024-08-30 17:04   ` Rob Herring
2024-08-30  2:06 ` [PATCH 2/3] of: irq: " Zhang Zekun
2024-08-30 14:34   ` Rob Herring
2024-08-30  2:06 ` [PATCH 3/3] of: property: " Zhang Zekun
2024-08-31  6:38   ` Krzysztof Kozlowski
2024-09-12 20:25   ` Rob Herring (Arm)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.