]> asedeno.scripts.mit.edu Git - linux.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)
commit2517cfd4ca78359dfc2bebbb121207d712c9b319
tree1adf93ac417dc7e297dae28801c1826b6d04b83b
parentb211aa655d264bd2a1f8b05eb75aeda508bd0ade
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