summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 21:32:15 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 16:38:46 +0300
commit4c9441d1e64c0ce224771d0985fabd75690a6d53 (patch)
tree1737d298f6860c6af5fe0e19f9456fdb2aa04493 /drivers/pci
parent2d6054b968d4dc5a739f96cb60f7e7b410a0e2fb (diff)
downloadlinux-4c9441d1e64c0ce224771d0985fabd75690a6d53.tar.xz
PCI: designware-plat: Remove unused platform data
The designware-plat 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')
-rw-r--r--drivers/pci/host/pcie-designware-plat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-designware-plat.c b/drivers/pci/host/pcie-designware-plat.c
index f0a2a60fbb6d..537f58a664fa 100644
--- a/drivers/pci/host/pcie-designware-plat.c
+++ b/drivers/pci/host/pcie-designware-plat.c
@@ -108,7 +108,6 @@ static int dw_plat_pcie_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
- platform_set_drvdata(pdev, dw_plat_pcie);
return 0;
}