Commit a7f1dbf
phy: broadcom: brcm-sata: 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 <krzysztof.kozlowski@linaro.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20240826-phy-of-node-scope-v1-2-5b4d82582644@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent e33525d commit a7f1dbf
1 file changed
Lines changed: 7 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
| 754 | + | |
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
758 | | - | |
| 758 | + | |
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
785 | | - | |
| 785 | + | |
786 | 786 | | |
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
791 | 791 | | |
792 | | - | |
793 | | - | |
| 792 | + | |
794 | 793 | | |
795 | 794 | | |
796 | 795 | | |
797 | 796 | | |
798 | | - | |
799 | | - | |
| 797 | + | |
800 | 798 | | |
801 | 799 | | |
802 | 800 | | |
803 | | - | |
804 | | - | |
| 801 | + | |
805 | 802 | | |
806 | 803 | | |
807 | 804 | | |
| |||
822 | 819 | | |
823 | 820 | | |
824 | 821 | | |
825 | | - | |
826 | | - | |
| 822 | + | |
827 | 823 | | |
828 | 824 | | |
829 | 825 | | |
| |||
839 | 835 | | |
840 | 836 | | |
841 | 837 | | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | 838 | | |
846 | 839 | | |
847 | 840 | | |
| |||
0 commit comments