- Add local "dev" pointers to reduce repetition of things like "&pdev->dev". - Remove platform drvdata because it appears unused (we called platform_set_drvdata() but not platform_get_drvdata()). - Pass the struct xgene_pcie_port pointer, not addresses, to setup functions to enable simplifications. - Add register accessors to encapsulate usage of port->csr_base a bit. Nothing here should change the behavior of the driver. Changes from v1: I dropped the following patch because it was a lot of churn for questionable benefit: PCI: xgene: Name private struct pointer "xgene" consistently --- Bjorn Helgaas (4): PCI: xgene: Add local struct device pointers PCI: xgene: Remove unused platform data PCI: xgene: Pass struct xgene_pcie_port to setup functions PCI: xgene: Add register accessors drivers/pci/host/pci-xgene.c | 151 +++++++++++++++++++++++------------------- 1 file changed, 81 insertions(+), 70 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