]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mediatek: add mtk_hw_deinit call as the opposite to mtk_hw_init call
authorSean Wang <sean.wang@mediatek.com>
Wed, 14 Sep 2016 15:13:16 +0000 (23:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 06:22:56 +0000 (02:22 -0400)
commit9e58ebb67c06db80d3d5a69d3c4b722a5397bc11
tree94783a2347866e0d1b5a69963484c3edb038335b
parent6d29e0a2364a83ffe4413c67a5d67d497f0e426a
net: ethernet: mediatek: add mtk_hw_deinit call as the opposite to mtk_hw_init call

grouping things related to the deinitialization of what
mtk_hw_init call does that help to be reused by the reset
process and the error path handling.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c