ethoc: Clean up PHY probing
authorJonas Bonn <jonas@southpole.se>
Fri, 11 Jun 2010 02:47:37 +0000 (02:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2010 20:28:35 +0000 (13:28 -0700)
commit637f33b80d774060646772a22fd728e198d9ebf9
tree6a88fc51ea69bb8a9a7f0da22092f99204108e77
parentee4f56b990391f0ea333121ebc0e9fba28619b52
ethoc: Clean up PHY probing

- No need to iterate over all possible addresses on bus
- Use helper function phy_find_first
- Use phy_connect_direct as we already have the relevant structure

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethoc.c