- Add local "dev" pointers to reduce repetition of things like
- Remove platform drvdata because it appears unused (we called
platform_set_drvdata() but not platform_get_drvdata()).
- Remove unused arguments and #defines.
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
PCI: rcar: Rename accessors
PCI: rcar: Name private struct pointer "rcar" consistently
PCI: rcar: Swap order of rcar_writel() reg/val arguments
PCI: rcar-gen2: Name private struct pointer "rcar" consistently
PCI: rcar-gen2: Add register accessors
Bjorn Helgaas (5):
PCI: rcar: Add local struct device pointers
PCI: rcar: Remove unused platform data
PCI: rcar: Remove unused rcar_pcie_get_resources() platform_device arg
PCI: rcar: Remove DRV_NAME macro
PCI: rcar-gen2: Add local struct device pointers
drivers/pci/host/pci-rcar-gen2.c | 46 ++++++++++--------
drivers/pci/host/pcie-rcar.c | 98 +++++++++++++++++++-------------------
2 files changed, 75 insertions(+), 69 deletions(-)