Skip to content

Commit

Permalink
PCI: armada: Remove unused platform data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorn Helgaas committed Oct 12, 2016
1 parent f5acb5c commit e4aea9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pci/host/pcie-armada8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e4aea9c

Please sign in to comment.