Commit f2ab1bba authored by Bjorn Helgaas's avatar Bjorn Helgaas

PCI: aardvark: Remove unused platform data

The aardvark driver never uses the platform drvdata pointer, so don't
bother setting it.  No functional change intended.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 9aec2fea
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment