commit | 2c629dd2d14fd7f64a553f809eda6d0b3a4f615a | [log] [tgz] |
---|---|---|
author | Liang He <windhl@126.com> | Thu Jun 16 17:30:27 2022 +0800 |
committer | Arnd Bergmann <arnd@arndb.de> | Fri Jun 24 17:18:55 2022 +0200 |
tree | f845f1b26bdf9d8e41f33ed06f1d7ec027225d13 | |
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>