Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information