summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 13:33:05 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 20:59:39 -0500
commit01856d1de4757f940e71bf7fddf01ae39e078121 (patch)
tree0b7e9702eeb424824c2d183ca0611b4126b1c9bb
parentc7f8146b7c56f7da50fe6947692719a5cb876aff (diff)
downloadop-kernel-dev-01856d1de4757f940e71bf7fddf01ae39e078121.zip
op-kernel-dev-01856d1de4757f940e71bf7fddf01ae39e078121.tar.gz
PCI: dra7xx: Remove redundant struct device pointer from dra7xx_pcie
The DesignWare core already stores the struct device pointer in struct pcie_port. Remove the redundant copy from struct dra7xx_pcie.dev. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/pci/host/pci-dra7xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/host/pci-dra7xx.c b/drivers/pci/host/pci-dra7xx.c
index 2323679..1c24f34 100644
--- a/drivers/pci/host/pci-dra7xx.c
+++ b/drivers/pci/host/pci-dra7xx.c
@@ -67,7 +67,6 @@ struct dra7xx_pcie {
void __iomem *base;
struct phy **phy;
int phy_count;
- struct device *dev;
struct pcie_port pp;
};
@@ -390,7 +389,6 @@ static int __init dra7xx_pcie_probe(struct platform_device *pdev)
dra7xx->base = base;
dra7xx->phy = phy;
- dra7xx->dev = dev;
dra7xx->phy_count = phy_count;
pm_runtime_enable(dev);
OpenPOWER on IntegriCloud