PCI: artpec6: Remove unused platform data
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:30:57 +0000 (13:30 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 01:45:31 +0000 (20:45 -0500)
The artpec6 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: Jesper Nilsson <jesper.nilsson@axis.com>
drivers/pci/host/pcie-artpec6.c

index ef2f04f5b24c68aec3227eb097972697b2064401..9423bf00b4c625d211ddcd10bf1428262cf3b28b 100644 (file)
@@ -262,7 +262,6 @@ static int artpec6_pcie_probe(struct platform_device *pdev)
        if (ret < 0)
                return ret;
 
-       platform_set_drvdata(pdev, artpec6_pcie);
        return 0;
 }