ethernet: hisilicon: hns: hns_dsaf_mac: add missing of_node_put after calling of_pars...
authorPeter Chen <peter.chen@nxp.com>
Mon, 1 Aug 2016 07:02:34 +0000 (15:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Aug 2016 04:43:48 +0000 (21:43 -0700)
commitb2e45406e7b789f54769eefdaf681335ef17cfb0
tree5cdc0949f4f9211772cc226ff1bfd185fea59d45
parent46997066ffed342166b49ed8ebb76eb40b2f2b24
ethernet: hisilicon: hns: hns_dsaf_mac: add missing of_node_put after calling of_parse_phandle

of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c