devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next v2 0/3] of: Simplify with scoped for each OF child loop
@ 2024-08-26  6:24 Jinjie Ruan
  2024-08-26  6:24 ` [PATCH -next v2 1/3] of: overlay: " Jinjie Ruan
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jinjie Ruan @ 2024-08-26  6:24 UTC (permalink / raw)
  To: robh, saravanak, devicetree, linux-kernel, krzk; +Cc: ruanjinjie

Use for_each_child_of_node_scoped() to simplify code.

Changes in v2:
- Merge them into one patchset as Krzysztof suggested.

Jinjie Ruan (3):
  of: overlay: Simplify with scoped for each OF child loop
  of/platform: Simplify with scoped for each OF child
  of: resolver: Simplify with scoped for each OF child loop

 drivers/of/overlay.c  | 12 +++---------
 drivers/of/platform.c | 14 ++++----------
 drivers/of/resolver.c | 12 ++++--------
 3 files changed, 11 insertions(+), 27 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-08-26 16:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26  6:24 [PATCH -next v2 0/3] of: Simplify with scoped for each OF child loop Jinjie Ruan
2024-08-26  6:24 ` [PATCH -next v2 1/3] of: overlay: " Jinjie Ruan
2024-08-26  6:24 ` [PATCH -next v2 2/3] of/platform: Simplify with scoped for each OF child Jinjie Ruan
2024-08-26  6:24 ` [PATCH -next v2 3/3] of: resolver: Simplify with scoped for each OF child loop Jinjie Ruan
2024-08-26 16:12 ` [PATCH -next v2 0/3] of: " Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).