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

crypto: amcc - Hold the reference returned by of_find_compatible_node



In crypto4xx_probe(), 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 cc8166bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment