summaryrefslogtreecommitdiff
path: root/drivers/pci/host
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 18:34:25 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2016-10-12 02:38:45 (GMT)
commitd5d4f6e4237aaa2bc2347d68e0ba297f884f464f (patch)
tree5b877b87d73bcfaba933a9651252f24e2444b32d /drivers/pci/host
parent88790f99c75cb7d32e1d981b223de01a06d55eb6 (diff)
downloadlinux-d5d4f6e4237aaa2bc2347d68e0ba297f884f464f.tar.xz
PCI: hisi: Remove unused platform data
The hisi 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>
Diffstat (limited to 'drivers/pci/host')
-rw-r--r--drivers/pci/host/pcie-hisi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/host/pcie-hisi.c b/drivers/pci/host/pcie-hisi.c
index 1c08028..d4a5812 100644
--- a/drivers/pci/host/pcie-hisi.c
+++ b/drivers/pci/host/pcie-hisi.c
@@ -210,8 +210,6 @@ static int hisi_pcie_probe(struct platform_device *pdev)
if (ret)
return ret;
- platform_set_drvdata(pdev, hisi_pcie);
-
dev_warn(dev, "only 32-bit config accesses supported; smaller writes may corrupt adjacent RW1C fields\n");
return 0;