net: ethernet: mediatek: fix the missing of_node_put() after node is used done inside...
authorSean Wang <sean.wang@mediatek.com>
Thu, 1 Sep 2016 02:47:33 +0000 (10:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 03:53:48 +0000 (20:53 -0700)
commitb5776f01bf1f36a6c89c6dc407dda6509002e0d7
tree8bbc1c1c873658ae5cced1ee1fa63df926f4bf5a
parent79e9a41438527a4cc2b426a2dfb92cd0825d7d29
net: ethernet: mediatek: fix the missing of_node_put() after node is used done inside mtk_mdio_init

This patch adds the missing of_node_put() after finishing the usage
of of_get_child_by_name.

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