OSDN Git Service

net: phy: utilize phy_suspend and phy_resume
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 27 Jan 2015 06:05:37 +0000 (22:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2015 08:16:51 +0000 (00:16 -0800)
commit9272efa2036f3f06625effc3a709416044578a92
treef069aad2559f3e77c3fd1779b4578e1058ff799a
parentd2fa7cc4e3bd759f5c8e093d1e08b718c722f319
net: phy: utilize phy_suspend and phy_resume

phy_suspend and phy_resume are an abstraction on top of the PHY device
driver suspend and resume callbacks, utilize those since they are the
proper interface to suspending and resuming a PHY device.

Acked-by: Fugang Duan <B38611@freescale.com>
Tested-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c