]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f68152613c261744ea8777174507c095c86955c
tree452d5457387ce783e8254a203ce86f0f02896097
parent662cb0e60cd2728037b3dc3a99d448e03843f5fe
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 1e84fed7159f ("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