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:
c7f8146
)
PCI: dra7xx: Remove redundant struct device pointer from dra7xx_pcie
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:33:05 +0000
(13:33 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 01:59:39 +0000
(20:59 -0500)
The DesignWare core already stores the struct device pointer in struct
pcie_port. Remove the redundant copy from struct dra7xx_pcie.dev. No
functional change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-dra7xx.c
patch
|
blob
|
history
diff --git
a/drivers/pci/host/pci-dra7xx.c
b/drivers/pci/host/pci-dra7xx.c
index 23236796d70959f768958d5a91908bf36affdf8d..1c24f341177660d4e0887430af7f9e5c3b04cbe9 100644
(file)
--- a/
drivers/pci/host/pci-dra7xx.c
+++ b/
drivers/pci/host/pci-dra7xx.c
@@
-67,7
+67,6
@@
struct dra7xx_pcie {
void __iomem *base;
struct phy **phy;
int phy_count;
- struct device *dev;
struct pcie_port pp;
};
@@
-390,7
+389,6
@@
static int __init dra7xx_pcie_probe(struct platform_device *pdev)
dra7xx->base = base;
dra7xx->phy = phy;
- dra7xx->dev = dev;
dra7xx->phy_count = phy_count;
pm_runtime_enable(dev);