PCI: armada: Remove unused platform data
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:30:01 +0000 (13:30 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 01:03:22 +0000 (20:03 -0500)
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>
drivers/pci/host/pcie-armada8k.c

index 0f4f570068e3d74f4e4aff4ed78f6bc356f7c319..b97ba975dee4a5f8023e29c9ba8874caad4f3992 100644 (file)
@@ -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");