[PATCH net-next 0/4] stmmac: dwmac-rk: convert to standard PM/remove functions

Joachim Eastwood manabian at gmail.com
Sat Nov 5 06:04:48 PDT 2016


This patch set aims to remove the init/exit callbacks from the 
dwmac-rk driver and instead use standard PM callbacks. Eventually
the init/exit callbacks will be deprecated and removed from all
drivers dwmac-* except for dwmac-generic. Drivers will be refactored
to use standard PM and remove callbacks.

This conversion was pretty straight forward, but it would really nice
if some chromium people could test suspend/resume with this patch set.


Joachim Eastwood (4):
  stmmac: dwmac-rk: turn resume/suspend into standard PM callbacks
  stmmac: dwmac-rk: turn exit into standard driver remove callback
  stmmac: dwmac-rk: absorb rk_gmac_init into probe
  Revert "net: stmmac: allow to split suspend/resume from init/exit callbacks"

 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c     | 89 +++++++++++-----------
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c  |  8 +-
 include/linux/stmmac.h                             |  2 -
 3 files changed, 46 insertions(+), 53 deletions(-)

-- 
2.10.2




More information about the Linux-rockchip mailing list