diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-06 18:40:27 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-12 04:34:28 (GMT) |
commit | d9c64c500aecfc1623a9f21e5a563916d4730832 (patch) | |
tree | 101e428116c10b93dbdc6bff9f4654f4c8941b64 /drivers/pci/host | |
parent | 4ef80d72a6f1a379e471960f48e051ab5e102fc0 (diff) | |
download | linux-d9c64c500aecfc1623a9f21e5a563916d4730832.tar.xz |
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')
-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 821d38a..4f352e8 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); |