Skip to content

Commit

Permalink
PCI: aardvark: Remove unused platform data
Browse files Browse the repository at this point in the history
The aardvark 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 9aec2fe commit f2ab1bb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pci/host/pci-aardvark.c
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,6 @@ static int advk_pcie_probe(struct platform_device *pdev)
return -ENOMEM;

pcie->pdev = pdev;
platform_set_drvdata(pdev, pcie);

res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
pcie->base = devm_ioremap_resource(dev, res);
Expand Down

0 comments on commit f2ab1bb

Please sign in to comment.