Skip to content
Commit 8ccc9cc4 authored by Liang He's avatar Liang He Committed by Herbert Xu
Browse files

crypto: nx - Hold the reference returned by of_find_compatible_node



In nx842_pseries_init(), we should hold the reference returned by
of_find_compatible_node() and use it to call of_node_put to keep
refcount balance.

Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9984a644
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment