Skip to content
Commit 11373c93 authored by Liang He's avatar Liang He Committed by Michael Ellerman
Browse files

powerpc/powermac/pfunc_base: Add missing of_node_put() in macio_gpio_init_one()



Call of_node_put() for the reference 'gparent' escaped out of the
previous for_each_child_of_node() as it has increased the refcount.

Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220716073111.539739-1-windhl@126.com
parent b3d6637b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment