- Add local "dev" pointers to reduce repetition of things like "&pdev->dev". - Remove redundant struct members. - Use generic DesignWare accessors when possible. - Pass device-specific struct to internal functions for consistency. - Move struct pcie_port setup to probe function for consistency. Nothing here should change the behavior of the driver. Changes from v1: I dropped the following patches because they were a lot of churn for questionable benefit: PCI: dra7xx: Rename accessors PCI: dra7xx: Name private struct pointer "dra7xx" consistently --- Bjorn Helgaas (7): PCI: dra7xx: Add local struct device pointers PCI: dra7xx: Remove redundant struct device pointer from dra7xx_pcie PCI: dra7xx: Set drvdata at end of probe function PCI: dra7xx: Use generic DesignWare accessors PCI: dra7xx: Pass device-specific struct to internal functions PCI: dra7xx: Move struct pcie_port setup to probe function PCI: dra7xx: Reorder struct dra7xx_pcie drivers/pci/host/pci-dra7xx.c | 103 ++++++++++++++++++----------------------- 1 file changed, 45 insertions(+), 58 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html