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 cecbc5563a
("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>
This commit is contained in:

committed by
David S. Miller

parent
07a5e76924
commit
5a3c7805c4
@@ -135,8 +135,6 @@ struct plat_stmmacenet_data {
|
||||
void (*bus_setup)(void __iomem *ioaddr);
|
||||
int (*init)(struct platform_device *pdev, void *priv);
|
||||
void (*exit)(struct platform_device *pdev, void *priv);
|
||||
void (*suspend)(struct platform_device *pdev, void *priv);
|
||||
void (*resume)(struct platform_device *pdev, void *priv);
|
||||
void *bsp_priv;
|
||||
struct stmmac_axi *axi;
|
||||
int has_gmac4;
|
||||
|
Reference in New Issue
Block a user