summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 13:32:15 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 08:38:46 -0500
commit4c9441d1e64c0ce224771d0985fabd75690a6d53 (patch)
tree1737d298f6860c6af5fe0e19f9456fdb2aa04493 /drivers
parent2d6054b968d4dc5a739f96cb60f7e7b410a0e2fb (diff)
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')
-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;
}