net: phy: use phy_init_hw instead of open-coding it
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 6 Dec 2013 21:01:31 +0000 (13:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 01:38:58 +0000 (20:38 -0500)
commit2613f95f614b39681f77a5036046ea395e306e28
treef0b20b6da39206ff08acba562571dd006f6707dc
parent114002bc1af6c63de4c003f8c5d3ca0bb430d987
net: phy: use phy_init_hw instead of open-coding it

Use phy_init_hw() instead of open-coding it in phy_mii_ioctl(), this
improves consistenty and makes sure that we will not duplicate the same
routine somewhere else.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c