smsc911x: replace manual phy lookup.
authorkirjanov@gmail.com <kirjanov@gmail.com>
Tue, 16 Feb 2010 21:54:58 +0000 (21:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 23:59:47 +0000 (15:59 -0800)
commite4a474f82ddaaef65433b0b4f5169f2f6cd8ddb0
treeb98db85ea6a829c6d4a94152e267c04ae9201be0
parente76b69cc0133952c98aa1ad6330cacacd269fd64
smsc911x: replace manual phy lookup.

Use phy_find_first() function instead of manual lookup.

Signed-off-by: Denis Kirjanov <kirjanov@gmail.com>
Reviewed-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c