OpenCloudOS-Kernel/arch/arm/mach-spear
Liang He 2c629dd2d1
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>
2022-06-24 17:18:55 +02:00
..
Kconfig ARM: rework endianess selection 2022-04-08 17:20:54 +02:00
Makefile ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
generic.h clk: spear: Move prototype to accessible header 2021-02-11 11:56:06 -08:00
headsmp.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
hotplug.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
misc_regs.h ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
pl080.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
pl080.h Update Viresh Kumar's email address 2015-07-17 16:39:53 -07:00
platsmp.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
restart.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
spear.h ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
spear3xx.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
spear6xx.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
spear13xx.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
spear300.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
spear310.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
spear320.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
spear1310.c ARM: spear: remove include/mach/ subdirectory 2022-04-29 09:53:15 +02:00
spear1340.c arm: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:58:37 -05:00
time.c arm: mach-spear: Add missing of_node_put() in time.c 2022-06-24 17:18:55 +02:00