ethernet: marvell: mvpp2: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Mon, 1 Aug 2016 07:02:37 +0000 (15:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Aug 2016 04:43:48 +0000 (21:43 -0700)
commitccb80393c484b071ec74b2f4ce9ef8d975fa4aa5
tree0e3added6fa971552ca646163de3a39d8e71219b
parentd4e4da00b68079dc13b15565a52d81f88bb61b2a
ethernet: marvell: mvpp2: 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/marvell/mvpp2.c