net: qcom/emac: Add missing of_node_put()
authorYueHaibing <yuehaibing@huawei.com>
Mon, 11 Jun 2018 13:03:45 +0000 (21:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jun 2018 00:01:05 +0000 (17:01 -0700)
commitbdf767cae3dddcb50a9ca09d01bb79df3e384f7b
tree87bba32cb96acaedf3042a1c7940f0d1d7653c0b
parent995191220056300c51ed870a5d5321f91f3eef89
net: qcom/emac: Add missing of_node_put()

Add missing of_node_put() call for device node returned by
of_parse_phandle().

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c