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

powerpc/83xx: Add missing of_node_put() in mpc832x_spi_init()



In mpc832x_spi_init(), hold the reference returned by
of_find_compatible_node() and use it to call of_node_put() for refcount
balance.

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/20220621080932.4081935-1-windhl@126.com
parent cc0dd82c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment