stmmac: dwmac-rk: turn resume/suspend into standard PM callbacks
authorJoachim Eastwood <manabian@gmail.com>
Sat, 5 Nov 2016 13:04:49 +0000 (14:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 18:21:24 +0000 (13:21 -0500)
commit5619468a4136d595df880dc887eee0c2fa48e8aa
tree695dd7a8f85dd59787e7fbd90dad3a85df8b2aaf
parentc68d7f1b637cfd1e09801b38a9dc9200e15f1337
stmmac: dwmac-rk: turn resume/suspend into standard PM callbacks

Use standard PM resume/suspend callbacks instead of the hooks in
stmmac_platform. This gives the driver more control and flexibility
when implementing PM functionality. The hooks in stmmac_platform
also doesn't buy us anything extra.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c