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:34 -0500 |
commit | d0206f21212a47b4334950ae7adceae543956ce2 (patch) | |
tree | c775cb445cb7267b94436d864673362ac8e5505a /drivers | |
parent | d9c64c500aecfc1623a9f21e5a563916d4730832 (diff) | |
download | linux-stable-d0206f21212a47b4334950ae7adceae543956ce2.tar.gz linux-stable-d0206f21212a47b4334950ae7adceae543956ce2.tar.bz2 linux-stable-d0206f21212a47b4334950ae7adceae543956ce2.zip |
PCI: rcar: Remove unused rcar_pcie_get_resources() platform_device arg
rcar_pcie_get_resources() doesn't use the platform_device pointer passed to
it, so remove 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')
-rw-r--r-- | drivers/pci/host/pcie-rcar.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index 4f352e8c8088..800a86d09b68 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c @@ -903,8 +903,7 @@ err: return err; } -static int rcar_pcie_get_resources(struct platform_device *pdev, - struct rcar_pcie *pcie) +static int rcar_pcie_get_resources(struct rcar_pcie *pcie) { struct device *dev = pcie->dev; struct resource res; @@ -1141,7 +1140,7 @@ static int rcar_pcie_probe(struct platform_device *pdev) rcar_pcie_parse_request_of_pci_ranges(pcie); - err = rcar_pcie_get_resources(pdev, pcie); + err = rcar_pcie_get_resources(pcie); if (err < 0) { dev_err(dev, "failed to request resources: %d\n", err); return err; |