Thread (19 messages) 19 messages, 4 authors, 2016-06-03

Re: [PATCH v2 7/7] phy: Add Northstar2 PCI Phy support

From: Andrew Lunn <andrew@lunn.ch>
Date: 2016-06-01 13:12:42
Also in: linux-arm-kernel, lkml, netdev

quoted hunk ↗ jump to hunk
+static int ns2_pci_phy_probe(struct mdio_device *mdiodev)
+{
+	struct device *dev = &mdiodev->dev;
+	struct phy_provider *provider;
+	struct ns2_pci_phy *p;
+	struct phy *phy;
+
+	phy = devm_phy_create(dev, dev->of_node, &ns2_pci_phy_ops);
+	if (IS_ERR_OR_NULL(phy)) {
+		dev_err(dev, "failed to create Phy\n");
+		return PTR_ERR(phy);
+	}
https://www.mail-archive.com/linux-omap@vger.kernel.org/msg78030.html

	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help