]> 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)
commit0a413861870dcde69c456cde76652e1eb2b499e7
treef0b20b6da39206ff08acba562571dd006f6707dc
parent84153bd9a853832ff66166167b86c6e0052cf29e
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