Commit 3e4d109
pmdomain: imx: gpc: Simplify with scoped for each OF child loop
Use scoped for_each_child_of_node_scoped() when iterating over device
nodes to make code a bit simpler.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240823-cleanup-h-guard-pm-domain-v1-3-8320722eaf39@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>1 parent da64dae commit 3e4d109
1 file changed
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
459 | 458 | | |
460 | 459 | | |
461 | 460 | | |
| |||
465 | 464 | | |
466 | 465 | | |
467 | 466 | | |
468 | | - | |
| 467 | + | |
469 | 468 | | |
470 | | - | |
471 | | - | |
| 469 | + | |
472 | 470 | | |
473 | | - | |
| 471 | + | |
474 | 472 | | |
475 | 473 | | |
476 | 474 | | |
477 | 475 | | |
478 | 476 | | |
479 | | - | |
480 | | - | |
| 477 | + | |
481 | 478 | | |
482 | | - | |
483 | 479 | | |
484 | 480 | | |
485 | 481 | | |
486 | 482 | | |
487 | 483 | | |
488 | 484 | | |
489 | | - | |
490 | 485 | | |
491 | 486 | | |
492 | 487 | | |
| |||
500 | 495 | | |
501 | 496 | | |
502 | 497 | | |
503 | | - | |
504 | 498 | | |
505 | 499 | | |
506 | 500 | | |
| |||
0 commit comments