PCI: rcar: Remove unused platform data
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:40:27 +0000 (13:40 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 04:34:28 +0000 (23:34 -0500)
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>
drivers/pci/host/pcie-rcar.c

index 821d38a..4f352e8 100644 (file)
@@ -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);