lkml.org 
[lkml]   [2016]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 7/7] phy: Add Northstar2 PCI Phy support
> +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

\
 
 \ /
  Last update: 2016-06-01 15:21    [W:0.794 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site