]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: altera: add missing of_node_put
authorPeter Chen <peter.chen@nxp.com>
Mon, 1 Aug 2016 07:02:29 +0000 (15:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Aug 2016 04:42:57 +0000 (21:42 -0700)
commitc7db873da32fe245b61ea94d40116eb680fd3ac9
tree6443e62f7e914db2d06132654d1445f5bba6c66f
parent37f0110f93e2b4d81f2aeccc7757956163ee46f6
ethernet: altera: add missing of_node_put

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

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