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)
commitbf253fb72221cdd9dc31009056f269a420f7bbd9
tree94783a2347866e0d1b5a69963484c3edb038335b
parent85574dbf9d12b393448334897acf13f567bac8f9
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