diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-06 13:40:27 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-11 23:34:28 -0500 |
commit | d9c64c500aecfc1623a9f21e5a563916d4730832 (patch) | |
tree | 101e428116c10b93dbdc6bff9f4654f4c8941b64 /drivers/pci | |
parent | 4ef80d72a6f1a379e471960f48e051ab5e102fc0 (diff) |
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')
-rw-r--r-- | drivers/pci/host/pcie-rcar.c | 1 |
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); |