diff options
author | Liang He <windhl@126.com> | 2022-06-16 17:30:27 +0800 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-06-24 17:18:55 +0200 |
commit | 2c629dd2d14fd7f64a553f809eda6d0b3a4f615a (patch) | |
tree | f845f1b26bdf9d8e41f33ed06f1d7ec027225d13 /arch/s390/lib/test_modules_helpers.c | |
parent | 1ba904b6b16e08de5aed7c1349838d9cd0d178c5 (diff) |
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: Liang He <windhl@126.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20220616093027.3984903-1-windhl@126.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions