projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe49067
)
PCI: altera: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:29:03 +0000
(13:29 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 00:54:22 +0000
(19:54 -0500)
The altera 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>
drivers/pci/host/pcie-altera.c
patch
|
blob
|
history
diff --git
a/drivers/pci/host/pcie-altera.c
b/drivers/pci/host/pcie-altera.c
index eac548b47f84a1288f3bc265d7f47202085274d9..b26695cbc433a9718cf197b3c55ad66db8f4ef78 100644
(file)
--- a/
drivers/pci/host/pcie-altera.c
+++ b/
drivers/pci/host/pcie-altera.c
@@
-635,8
+635,6
@@
static int altera_pcie_probe(struct platform_device *pdev)
pcie_bus_configure_settings(child);
pci_bus_add_devices(bus);
-
- platform_set_drvdata(pdev, pcie);
return ret;
}