Skip to content
Unverified Commit 2c629dd2 authored by Liang He's avatar Liang He Committed by Arnd Bergmann
Browse files

arm: mach-spear: Add missing of_node_put() in time.c



In spear_setup_of_timer(), of_find_matching_node() will return a
node pointer with refcount incrementd. We should use of_node_put()
in each fail path or when it is not used anymore.

Signed-off-by: default avatarLiang He <windhl@126.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20220616093027.3984903a

-1-windhl@126.com'
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 1ba904b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment