net: ethernet: mediatek: add the missing of_node_put() after node is used done
authorsean.wang@mediatek.com <sean.wang@mediatek.com>
Sat, 13 Aug 2016 11:16:19 +0000 (19:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 21:58:38 +0000 (14:58 -0700)
commite8c2993a4c9fdb0c9e6fc983edd5b52716ce7442
tree39201cccf20af04598bcd9ecbc26420fe8559d88
parentd7005652cd31dfc5660e1e32bf7e53538ef14987
net: ethernet: mediatek: add the missing of_node_put() after node is used done

This patch adds the missing of_node_put() after finishing the usage
of of_parse_phandle() or of_node_get() used by fixed_phy.

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