Commit 612f9fc
phy: cadence: sierra: Simplify with scoped for each OF child loop
Use scoped for_each_available_child_of_node_scoped() when iterating over
device nodes to make code a bit simpler.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>1 parent a7f1dbf commit 612f9fc
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1366 | 1366 | | |
1367 | 1367 | | |
1368 | 1368 | | |
1369 | | - | |
| 1369 | + | |
1370 | 1370 | | |
1371 | 1371 | | |
1372 | 1372 | | |
| |||
1438 | 1438 | | |
1439 | 1439 | | |
1440 | 1440 | | |
1441 | | - | |
| 1441 | + | |
1442 | 1442 | | |
1443 | 1443 | | |
1444 | 1444 | | |
| |||
1452 | 1452 | | |
1453 | 1453 | | |
1454 | 1454 | | |
1455 | | - | |
1456 | 1455 | | |
1457 | 1456 | | |
1458 | 1457 | | |
| |||
1461 | 1460 | | |
1462 | 1461 | | |
1463 | 1462 | | |
1464 | | - | |
1465 | 1463 | | |
1466 | 1464 | | |
1467 | 1465 | | |
| |||
1475 | 1473 | | |
1476 | 1474 | | |
1477 | 1475 | | |
1478 | | - | |
1479 | 1476 | | |
1480 | 1477 | | |
1481 | 1478 | | |
| |||
0 commit comments