Skip to content

Commit

Permalink
apple-pmgr-pstate: Fix OF refcounting bug
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Martin <marcan@marcan.st>
  • Loading branch information
marcan committed Sep 21, 2021
1 parent 2bed611 commit 6e7a19b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/soc/apple/apple-pmgr-pstate.c
Expand Up @@ -127,7 +127,6 @@ static int apple_pmgr_ps_probe(struct platform_device *pdev)
child.np = node;
child.args_count = 0;
ret = of_genpd_add_subdomain(&parent, &child);
of_node_put(parent.np);

if (ret == -EPROBE_DEFER) {
goto err_remove;
Expand Down

0 comments on commit 6e7a19b

Please sign in to comment.