summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 21:30:57 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-10-12 04:45:31 +0300
commitf392bd11e6aebcfeefc5fef1ec1ecc8432f75ae0 (patch)
tree385b667a8b59532528ce7dc50d86f7f86376c5ac
parente6f3115f5836eeffdf81792a3e8092f1085031a7 (diff)
downloadlinux-f392bd11e6aebcfeefc5fef1ec1ecc8432f75ae0.tar.xz
PCI: artpec6: Remove unused platform data
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>
-rw-r--r--drivers/pci/host/pcie-artpec6.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-artpec6.c b/drivers/pci/host/pcie-artpec6.c
index ef2f04f5b24c..9423bf00b4c6 100644
--- a/drivers/pci/host/pcie-artpec6.c
+++ b/drivers/pci/host/pcie-artpec6.c
@@ -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;
}