- Add local "dev" pointers to reduce repetition of things like "&pdev->dev". - Tidy up drvdata usage. - Remove some null pointer checking after adding corresponding checking elsewhere. - Hard-code the PCIe capability offset instead of searching for it. This removes a little bit of dependency on struct pci_bus, with an eye toward moving the link maintenance before enumeration. Changes from v1: I dropped the following patches because they were a lot of churn for questionable benefit: PCI: iproc: Rename accessors PCI: iproc: Name private struct pointer "iproc" consistently --- Bjorn Helgaas (5): PCI: iproc: Add local struct device pointers PCI: iproc: Set drvdata at end of probe function PCI: iproc: Validate CSR base in BCMA setup code PCI: iproc: Remove redundant null pointer checking PCI: iproc: Hard-code PCIe capability offset instead of searching drivers/pci/host/pcie-iproc-bcma.c | 14 ++++++--- drivers/pci/host/pcie-iproc-platform.c | 27 +++++++++-------- drivers/pci/host/pcie-iproc.c | 52 ++++++++++++++++---------------- 3 files changed, 50 insertions(+), 43 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html