projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf9e28
)
PCI: xilinx-nwl: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:44:43 +0000
(13:44 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 05:00:51 +0000
(
00:00
-0500)
The xilinx-nwl 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-nwl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pcie-xilinx-nwl.c
b/drivers/pci/host/pcie-xilinx-nwl.c
index 10d4517f588aefaff8b0d75d29691c9b560dbca6..43eaa4afab9491364d660bb4ea6d07d50810cf4c 100644
(file)
--- a/
drivers/pci/host/pcie-xilinx-nwl.c
+++ b/
drivers/pci/host/pcie-xilinx-nwl.c
@@
-861,7
+861,6
@@
static int nwl_pcie_probe(struct platform_device *pdev)
list_for_each_entry(child, &bus->children, node)
pcie_bus_configure_settings(child);
pci_bus_add_devices(bus);
- platform_set_drvdata(pdev, pcie);
return 0;
error: