ethernet: stmicro: stmmac: dwmac-socfpga: add missing of_node_put after calling of_pa...
authorPeter Chen <peter.chen@nxp.com>
Mon, 1 Aug 2016 07:02:41 +0000 (15:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Aug 2016 04:43:49 +0000 (21:43 -0700)
commitf7113b3af1ab5218882a79ac1bbeeaad4f46fbc3
treea95ecf65f2da8e8a3287f2818bc58798860666a0
parent8da703dc8d92be72e3c1e3f26dd540fdaff69f4c
ethernet: stmicro: stmmac: dwmac-socfpga: 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/stmicro/stmmac/dwmac-socfpga.c