All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: MVEBU: Remove duplicate clock get
@ 2013-12-04 17:30 Andrew Lunn
  2013-12-04 20:27 ` Jason Cooper
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrew Lunn @ 2013-12-04 17:30 UTC (permalink / raw)
  To: Thomas Petazzoni, bhelgaas; +Cc: Jason Cooper, linux-pci, Andrew Lunn

Probably due to a merge conflict resolution gone bad, the pci clock is
got twice. Remove the second redundent of_clk_get_by_name().

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 drivers/pci/host/pci-mvebu.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c
index c269e430c760..96352be58cc9 100644
--- a/drivers/pci/host/pci-mvebu.c
+++ b/drivers/pci/host/pci-mvebu.c
@@ -949,14 +949,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev)
 
 		mvebu_pcie_set_local_dev_nr(port, 1);
 
-		port->clk = of_clk_get_by_name(child, NULL);
-		if (IS_ERR(port->clk)) {
-			dev_err(&pdev->dev, "PCIe%d.%d: cannot get clock\n",
-			       port->port, port->lane);
-			iounmap(port->base);
-			continue;
-		}
-
 		port->dn = child;
 		spin_lock_init(&port->conf_lock);
 		mvebu_sw_pci_bridge_init(port);
-- 
1.8.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-12-18  1:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-04 17:30 [PATCH] PCI: MVEBU: Remove duplicate clock get Andrew Lunn
2013-12-04 20:27 ` Jason Cooper
2013-12-04 23:36   ` Jingoo Han
2013-12-09 23:29 ` Bjorn Helgaas
2013-12-17 20:45 ` Andrew Lunn
2013-12-17 20:49   ` Jason Cooper
2013-12-17 22:14     ` Bjorn Helgaas
2013-12-18  1:03   ` Jingoo Han

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.