Name

of_phy_find_device — Give a PHY node, find the phy_device

Synopsis

struct phy_device * of_phy_find_device (struct device_node * phy_np);
 

Arguments

phy_np

Pointer to the phy's device tree node

Description

If successful, returns a pointer to the phy_device with the embedded struct device refcount incremented by one, or NULL on failure.