bus: mvebu: add missing of_node_put() to fix reference leak
authorJisheng Zhang <jszhang@marvell.com>
Tue, 27 Aug 2013 04:41:15 +0000 (12:41 +0800)
committerJason Cooper <jason@lakedaemon.net>
Wed, 18 Sep 2013 16:41:10 +0000 (16:41 +0000)
commit4ec7fc4abb554c6c9b0eda81ad1c9cb82c29aa79
treea133de800c571e9b28f68f3966d7de800ff1a43e
parentabe511ac85de60f6d6ce1272b91c079d73bf8517
bus: mvebu: add missing of_node_put() to fix reference leak

Add of_node_put to properly decrement the refcount when we are
done using a given node.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Conflicts:
drivers/bus/mvebu-mbus.c
drivers/bus/mvebu-mbus.c