Commit 2ff81fe
cdx: Simplify with scoped for each OF child loop
Use scoped for-each loop when iterating over device nodes to make code a
bit simpler.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20260109-of-for-each-compatible-scoped-v3-6-c22fa2c0749a@oss.qualcomm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>1 parent 9572933 commit 2ff81fe
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
612 | 611 | | |
613 | 612 | | |
614 | 613 | | |
| |||
623 | 622 | | |
624 | 623 | | |
625 | 624 | | |
626 | | - | |
| 625 | + | |
627 | 626 | | |
628 | 627 | | |
629 | | - | |
630 | 628 | | |
631 | 629 | | |
632 | 630 | | |
| |||
0 commit comments