]> 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)
commit7467782625b559743a0646e17e18cc42c8114100
tree452d5457387ce783e8254a203ce86f0f02896097
parentb3bc30eff668d6fa17806a5c1d60da1db6d81de0
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 9535fbf3539f ("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