diff options
author | Javier Carrasco <[email protected]> | 2024-06-09 12:56:14 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-07-09 17:40:34 -0500 |
commit | 7e8e4fc5321bfa824def6fb66de43fe33c04bb5f (patch) | |
tree | 4a5cd352941718619e6a56c9d929952a81e3c51a /drivers/pci/controller/dwc/pci-exynos.c | |
parent | 2e81122d681c6cf3a89e3a20934226909a0f6dd6 (diff) |
PCI: kirin: Convert kirin_pcie_parse_port() to scoped iterator
Convert loops in kirin_pcie_parse_port() to use the _scoped() version of
for_each_available_child_of_node() so the refcounts of children are
implicitly decremented when the loop is exited.
No functional change intended here, but it will make future error exits
from these loops easier.
Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Javier Carrasco <[email protected]>
Signed-off-by: Krzysztof WilczyĆski <[email protected]>
[bhelgaas: move to GPIO series to avoid bisection hole, commit log]
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-exynos.c')
0 files changed, 0 insertions, 0 deletions