ethernet: ti: davinci_emac: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Mon, 1 Aug 2016 07:02:43 +0000 (15:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Aug 2016 04:43:49 +0000 (21:43 -0700)
commit5817f977527e5cdbea9ca56d2b95824f59c8747d
tree6a8e5d5bbeb31ab6466a14268ba3a5a928b8488c
parent4613b279bee7954f1378c6339618641fdc4a675f
ethernet: ti: davinci_emac: 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/ti/davinci_emac.c