projects
/
platform
/
kernel
/
linux-rpi3.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
|
history
diff --git
a/drivers/pci/host/pci-tegra.c
b/drivers/pci/host/pci-tegra.c
index
e2ec0f6
..
8dfccf7
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: