Revert "net: stmmac: allow to split suspend/resume from init/exit callbacks"
authorJoachim Eastwood <manabian@gmail.com>
Sat, 5 Nov 2016 13:04:52 +0000 (14:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 18:21:25 +0000 (13:21 -0500)
commit5a3c7805c444d9d55f302a4b3930e8758be13fab
tree144978cb7a93b6c48eacc9cbaa47eabcd32dff15
parent07a5e76924a1a4549bc176f49ec9e37ca7315b43
Revert "net: stmmac: allow to split suspend/resume from init/exit callbacks"

Instead of adding hooks inside stmmac_platform it is better to just use
the standard PM callbacks within the specific dwmac-driver. This only
used by the dwmac-rk driver.

This reverts commit cecbc5563a02 ("stmmac: allow to split suspend/resume
from init/exit callbacks").

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
include/linux/stmmac.h