]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: arc: emac_main: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Mon, 1 Aug 2016 07:02:31 +0000 (15:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Aug 2016 04:43:47 +0000 (21:43 -0700)
commit628db51bb174e6b5944b785ef44e27595f3c346e
tree424c9f39ef0c9f787b3a18c9728438014eae1b84
parent32de94fc30789ff3c8f81a96c9b5015aa93cd771
ethernet: arc: emac_main: 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/arc/emac_main.c