Browse Source

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>
Bjorn Helgaas 9 years ago
parent
commit
e4aea9c4ad
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/pci/host/pcie-armada8k.c

+ 0 - 1
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");