]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: dwmac-socfpga: add PM ops and resume function
authorJoachim Eastwood <manabian@gmail.com>
Sun, 1 May 2016 20:58:20 +0000 (22:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2016 19:22:19 +0000 (15:22 -0400)
commit8a2b462157f18e57c87757ae529f13f3544976b7
tree67186dd432f600934f98738be34add12603553ee
parent6b53a88d1ac27d03a8002a82405034638bb5cb06
stmmac: dwmac-socfpga: add PM ops and resume function

Implement the needed PM callbacks in the driver instead of
relying on the init/exit hooks in stmmac_platform. This gives
the driver more flexibility in how the code is organized.

Eventually the init/exit callbacks will be deprecated in favor
of the standard PM callbacks and driver remove function.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c