stmmac: dwmac-rk: absorb rk_gmac_init into probe
authorJoachim Eastwood <manabian@gmail.com>
Sat, 5 Nov 2016 13:04:51 +0000 (14:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 18:21:24 +0000 (13:21 -0500)
commit07a5e76924a1a4549bc176f49ec9e37ca7315b43
tree452d5457387ce783e8254a203ce86f0f02896097
parent0de8c4c9a911a02ef968f7a2f4e8f8ffb7de58ca
stmmac: dwmac-rk: absorb rk_gmac_init into probe

Since the rk_gmac_init() only calls another function move this
function call into probe so rk_gmac_init() can be removed.

Since commit cecbc5563a02 ("stmmac: allow to split suspend/resume
from init/exit callbacks") the init hook is no longer used in
dwmac-rk so this can be removed.

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