]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92b0eec4fc5e44dc968bf5fa991cb3d384ab49bf
tree144978cb7a93b6c48eacc9cbaa47eabcd32dff15
parent7467782625b559743a0646e17e18cc42c8114100
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 9535fbf3539f ("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