summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pcie-rcar.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 13:40:27 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 23:34:28 -0500
commitd9c64c500aecfc1623a9f21e5a563916d4730832 (patch)
tree101e428116c10b93dbdc6bff9f4654f4c8941b64 /drivers/pci/host/pcie-rcar.c
parent4ef80d72a6f1a379e471960f48e051ab5e102fc0 (diff)
downloadblackbird-obmc-linux-d9c64c500aecfc1623a9f21e5a563916d4730832.tar.gz
blackbird-obmc-linux-d9c64c500aecfc1623a9f21e5a563916d4730832.zip
PCI: rcar: Remove unused platform data
The rcar 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> Acked-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/pci/host/pcie-rcar.c')
-rw-r--r--drivers/pci/host/pcie-rcar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c
index 821d38a0e1ff..4f352e8c8088 100644
--- a/drivers/pci/host/pcie-rcar.c
+++ b/drivers/pci/host/pcie-rcar.c
@@ -1136,7 +1136,6 @@ static int rcar_pcie_probe(struct platform_device *pdev)
return -ENOMEM;
pcie->dev = dev;
- platform_set_drvdata(pdev, pcie);
INIT_LIST_HEAD(&pcie->resources);
OpenPOWER on IntegriCloud