diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-06 20:27:46 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-12 02:44:04 +0200 |
commit | f2ab1bbaf58e7d1549a4612071f112b88f217b17 (patch) | |
tree | df37878bc071b0faf4afeb1afd7e15676ab37167 /drivers/pci/host/pci-aardvark.c | |
parent | PCI: aardvark: Add local struct device pointers (diff) | |
download | linux-f2ab1bbaf58e7d1549a4612071f112b88f217b17.tar.xz linux-f2ab1bbaf58e7d1549a4612071f112b88f217b17.zip |
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: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'drivers/pci/host/pci-aardvark.c')
-rw-r--r-- | drivers/pci/host/pci-aardvark.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-aardvark.c b/drivers/pci/host/pci-aardvark.c index 16421d1fcd44..4fce494271cc 100644 --- a/drivers/pci/host/pci-aardvark.c +++ b/drivers/pci/host/pci-aardvark.c @@ -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); |