]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb946dad731ba13990b04374fccc76d189413909
treef0b20b6da39206ff08acba562571dd006f6707dc
parentf07ebf99932874f97e453b1bd99c6ce46de11d08
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