# Re: \[PATCH v2 07/13\] memory: tegra-mc: simplify with scoped for each OF child loop

- From: Thierry Reding \<hidden\>
- Date: 2024-08-27 09:10:53 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2024/08/2723303
- Thread: https://ratatoskr.run/linux-arm-kernel/2024/08/2710531/t.md

```text
On Fri, Aug 16, 2024 at 12:54:31PM GMT, Krzysztof Kozlowski wrote:
> Use scoped for_each_child_of_node_scoped() when iterating over device
> nodes to make code a bit simpler.
> 
> Reviewed-by: Jonathan Cameron <redacted>
> Signed-off-by: Krzysztof Kozlowski <redacted>
> ---
>  drivers/memory/tegra/mc.c | 11 +++--------
>  1 file changed, 3 insertions(+), 8 deletions(-)

Acked-by: Thierry Reding <redacted>
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-arm-kernel/2024/08/2723303/attachment/0) (application/pgp-signature, 833 bytes)
