]> git.baikalelectronics.ru Git - kernel.git/commit
macb: straighten out macb_mii_probe function
authorJiri Pirko <jpirko@redhat.com>
Mon, 8 Feb 2010 05:12:08 +0000 (05:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2010 19:38:58 +0000 (11:38 -0800)
commit1bc4a3a237588affb631a10f4c3c19a54a301151
tree5a746de142377240d8cd0cbe7ac469ccab5171a2
parent08fc26af55e15b2ff445edb9a9dd54d1efafe0a5
macb: straighten out macb_mii_probe function

Use "phy_find_first" instead of manual lookup. Also use "phy_connect_direct"
instead of "phy_connect" since we already have phy_device pointer here.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macb.c