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

powerpc/powermac/low_i2c: Add missing of_node_put() in kw_i2c_probe()



Call of_node_put() for the reference 'parent' returned by
of_get_parent() which 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/20220716070758.539434-1-windhl@126.com
parent d36337ce
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