PCI: Cleanup control flow
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 12 Mar 2015 20:07:04 +0000 (15:07 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Mar 2015 15:17:22 +0000 (10:17 -0500)
commit9e808eb6a7689b61399f772a2576d779161769ec
tree73af8c5605ba91394b1fffdc964a03741b4897c4
parenta0c8a4d9f92d1ecd053eaa0e6cde7b4f24af97a8
PCI: Cleanup control flow

Return errors immediately so the straightline path is the normal,
no-error path.  No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/arm/mach-dove/pcie.c
arch/arm/mach-mv78xx0/pcie.c
arch/arm/mach-orion5x/pci.c
arch/mips/pci/pci.c
arch/sh/drivers/pci/pci.c
arch/sparc/kernel/leon_pci.c