diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-06 21:30:01 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-12 04:03:22 +0300 |
commit | e4aea9c4adbdf920128d00d9c20c03a405df149c (patch) | |
tree | 19cfa1ba0866f4e88e49cfdf94ef8e99e0fa0e4d /drivers/pci | |
parent | f5acb5c51de2c073ee5f80d868354113ce0227ee (diff) | |
download | linux-e4aea9c4adbdf920128d00d9c20c03a405df149c.tar.xz |
PCI: armada: Remove unused platform data
The armada driver never uses the platform drvdata pointer, so don't bother
setting it. No functional change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/host/pcie-armada8k.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-armada8k.c b/drivers/pci/host/pcie-armada8k.c index 0f4f570068e3..b97ba975dee4 100644 --- a/drivers/pci/host/pcie-armada8k.c +++ b/drivers/pci/host/pcie-armada8k.c @@ -217,7 +217,6 @@ static int armada8k_pcie_probe(struct platform_device *pdev) pp = &pcie->pp; pp->dev = dev; - platform_set_drvdata(pdev, pcie); /* Get the dw-pcie unit configuration/control registers base. */ base = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ctrl"); |