diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-06 13:30:57 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-11 20:45:31 -0500 |
commit | f392bd11e6aebcfeefc5fef1ec1ecc8432f75ae0 (patch) | |
tree | 385b667a8b59532528ce7dc50d86f7f86376c5ac /drivers/pci | |
parent | e6f3115f5836eeffdf81792a3e8092f1085031a7 (diff) |
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/host/pcie-artpec6.c | 1 |
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; } |