aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-imx6.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2025-01-17 23:51:19 +0000
committerBjorn Helgaas <[email protected]>2025-01-20 18:39:38 +0000
commit1108d677dae296d2f05664bc71fd1d50bd61eb1f (patch)
treed5bcc9c33f2e359ac63f70a1e3660b784ebcbd2c /drivers/pci/controller/dwc/pci-imx6.c
parentof: address: Add parent_bus_addr to struct of_pci_range (diff)
downloadkernel-1108d677dae296d2f05664bc71fd1d50bd61eb1f.tar.gz
kernel-1108d677dae296d2f05664bc71fd1d50bd61eb1f.zip
PCI: dwc: Simplify config resource lookup
If platform_get_resource_byname("config") fails, return error immediately and unindent the normal path. No functional change intended. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Frank Li <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-imx6.c')
0 files changed, 0 insertions, 0 deletions