summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/soc/rockchip
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/soc/rockchip')
-rw-r--r--kernel/drivers/soc/rockchip/pm_domains.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/soc/rockchip/pm_domains.c b/kernel/drivers/soc/rockchip/pm_domains.c
index 534c58937..4a65c5bda 100644
--- a/kernel/drivers/soc/rockchip/pm_domains.c
+++ b/kernel/drivers/soc/rockchip/pm_domains.c
@@ -419,6 +419,7 @@ static int rockchip_pm_domain_probe(struct platform_device *pdev)
if (error) {
dev_err(dev, "failed to handle node %s: %d\n",
node->name, error);
+ of_node_put(node);
goto err_out;
}
}