projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d07188
)
PCI: xilinx: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:44:42 +0000
(13:44 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 04:59:51 +0000
(23:59 -0500)
The xilinx 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-xilinx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pcie-xilinx.c
b/drivers/pci/host/pcie-xilinx.c
index 2ef47afbc3d8f703e37d9d17d4fbe0d1c066b043..8a0eb0345d95b42efb9239efe9b7c2b0e6973706 100644
(file)
--- a/
drivers/pci/host/pcie-xilinx.c
+++ b/
drivers/pci/host/pcie-xilinx.c
@@
-688,8
+688,6
@@
static int xilinx_pcie_probe(struct platform_device *pdev)
pci_fixup_irqs(pci_common_swizzle, of_irq_parse_and_map_pci);
#endif
pci_bus_add_devices(bus);
- platform_set_drvdata(pdev, port);
-
return 0;
error: