]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: dwmac-sti: add PM ops and resume function
authorJoachim Eastwood <manabian@gmail.com>
Fri, 4 Nov 2016 17:54:07 +0000 (18:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2016 03:00:15 +0000 (22:00 -0500)
commit14e5cea1addf953293ad0900e109f1b812e9c998
tree1adf93ac417dc7e297dae28801c1826b6d04b83b
parent09e82b1559ab8aa890f186bcbd467600f3867d93
stmmac: dwmac-sti: add PM ops and resume function

Implement PM callbacks and driver remove 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>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Tested-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c