commit | 2613f95f614b39681f77a5036046ea395e306e28 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Dec 06 13:01:31 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 09 20:38:58 2013 -0500 |
tree | f0b20b6da39206ff08acba562571dd006f6707dc | |
parent | 114002bc1af6c63de4c003f8c5d3ca0bb430d987 [diff] |
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>