diff options
| author | Javier Carrasco <[email protected]> | 2024-06-09 10:56:14 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2024-07-09 22:40:34 +0000 |
| commit | 7e8e4fc5321bfa824def6fb66de43fe33c04bb5f (patch) | |
| tree | 4a5cd352941718619e6a56c9d929952a81e3c51a /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | PCI: imx6: Convert to use agnostic GPIO API (diff) | |
| download | kernel-7e8e4fc5321bfa824def6fb66de43fe33c04bb5f.tar.gz kernel-7e8e4fc5321bfa824def6fb66de43fe33c04bb5f.zip | |
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-keystone.c')
0 files changed, 0 insertions, 0 deletions
