[PATCH -next v2 0/3] of: Simplify with scoped for each OF child loop

Jinjie Ruan posted 3 patches 1 year, 3 months ago
drivers/of/overlay.c  | 12 +++---------
drivers/of/platform.c | 14 ++++----------
drivers/of/resolver.c | 12 ++++--------
3 files changed, 11 insertions(+), 27 deletions(-)
[PATCH -next v2 0/3] of: Simplify with scoped for each OF child loop
Posted by Jinjie Ruan 1 year, 3 months ago
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
Re: [PATCH -next v2 0/3] of: Simplify with scoped for each OF child loop
Posted by Rob Herring 1 year, 3 months ago
On Mon, Aug 26, 2024 at 02:24:05PM +0800, Jinjie Ruan wrote:
> 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

Applied, thanks!

Rob