]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mediatek: fix logic unbalance between probe and remove
authorSean Wang <sean.wang@mediatek.com>
Thu, 1 Sep 2016 02:47:31 +0000 (10:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 03:53:47 +0000 (20:53 -0700)
commit8dbc93dbc7b3ac45e7e0832f43f65fb480e190f2
treef83326918cadb0a42b9f2905e8fa145b44f67101
parent0a2a696504c5c6f320a275e2eac80b12cbd8b26a
net: ethernet: mediatek: fix logic unbalance between probe and remove

original mdio_cleanup is not in the symmetric place against where
mdio_init is, so relocate mdio_cleanup to the right one.

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