stmmac: let remove/resume/suspend functions take device pointer
authorJoachim Eastwood <manabian@gmail.com>
Sun, 1 May 2016 20:58:19 +0000 (22:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2016 19:22:19 +0000 (15:22 -0400)
commitf4e7bd81b1630018952187e5bd731755a6536a61
tree0d6ad37794a5d6c351ff2e90fe85186aa23b5a0c
parente03179fe78d5b39dbf3e8b0b50f7c406514b15c7
stmmac: let remove/resume/suspend functions take device pointer

Change stmmac_remove/resume/suspend to take a device pointer so
they can be used directly by drivers that doesn't need to perform
anything device specific.

This lets us remove the PCI pm functions and later simplifiy the
platform drivers.

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/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c