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:
a581fa9
)
PCI: tegra: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:43:04 +0000
(13:43 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 04:45:32 +0000
(23:45 -0500)
The tegra 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/pci-tegra.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pci-tegra.c
b/drivers/pci/host/pci-tegra.c
index e2ec0f604452ff7db5d06a3fa23148adcb67536a..8dfccf7332411b379d262c165829efc3195ac21a 100644
(file)
--- a/
drivers/pci/host/pci-tegra.c
+++ b/
drivers/pci/host/pci-tegra.c
@@
-2266,7
+2266,6
@@
static int tegra_pcie_probe(struct platform_device *pdev)
dev_err(dev, "failed to setup debugfs: %d\n", err);
}
- platform_set_drvdata(pdev, pcie);
return 0;
disable_msi: