phy: Move PHY PM operations into phy_device
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:21 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:27 +0000 (14:31 -0500)
commitbc87922ff59d364a33e9bce0febdef21a7fbd2af
treec7179d7f4969f2006e81cd7512c5d0aac8392de2
parent0071f56e46dadb88dc3ad1f8d9cf9c3ae014735d
phy: Move PHY PM operations into phy_device

The MDIO PM operations are really PHY device PM operations. So move
them into phy_device. This will be needed when we support devices on
the mdio bus which are not PHYs.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c
drivers/net/phy/phy_device.c
include/linux/mdio.h