libphy: add phy_find_first function
authorJiri Pirko <jpirko@redhat.com>
Thu, 4 Feb 2010 18:23:02 +0000 (10:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 18:23:02 +0000 (10:23 -0800)
commitf8f76db1db369f3a130ac3fd33e2eee5f1610d9c
tree808ba0be71bc55335afca100fc857d7f4e937b46
parent6683ece36e3531fc8c75f69e7165c5f20930be88
libphy: add phy_find_first function

Many drivers do this in them manually. Now they can use this function.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c
include/linux/phy.h