linux/arch/arm/mach-shmobile
Wan Jiabing c93a934f81 ARM: shmobile: rcar-gen2: Add missing of_node_put()
[ Upstream commit 85744f2d938c5f3cfc44cb6533c157469634da93 ]

Fix following coccicheck warning:
./arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c:156:1-33: Function
for_each_matching_node_and_match should have of_node_put() before break
and goto.

Early exits from for_each_matching_node_and_match() should decrement the
node reference counter.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20211018014503.7598-1-wanjiabing@vivo.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 09:19:40 +01:00
..
Kconfig ARM: shmobile: R-Mobile: Move pm-rmobile to drivers/soc/renesas/ 2018-11-30 11:29:11 +01:00
Makefile ARM: shmobile: R-Mobile: Move pm-rmobile to drivers/soc/renesas/ 2018-11-30 11:29:11 +01:00
common.h ARM: shmobile: Remove unused shmobile_smp_init_fallback_ops() 2018-06-18 12:00:22 +02:00
emev2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
headsmp-apmu.S ARM: shmobile: rcar-gen2: Stop compiling headsmp-apmu on !SMP 2018-06-27 17:08:52 +02:00
headsmp-scu.S ARM: shmobile: convert to SPDX identifiers 2018-09-11 15:41:30 +02:00
headsmp.S ARM: shmobile: convert to SPDX identifiers 2018-09-11 15:41:30 +02:00
platsmp-apmu.c ARM: shmobile: convert to SPDX identifier 2018-06-18 12:00:29 +02:00
platsmp-scu.c ARM: shmobile: convert to SPDX identifiers 2018-09-11 15:41:30 +02:00
platsmp.c ARM: shmobile: convert to SPDX identifiers 2018-09-11 15:41:30 +02:00
pm-rcar-gen2.c ARM: shmobile: fix a leaked reference by adding missing of_node_put 2019-03-18 10:32:36 +01:00
r8a7779.h ARM: shmobile: r8a7779: Remove explicit SYSC config and init 2018-06-18 12:00:28 +02:00
rcar-gen2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regulator-quirk-rcar-gen2.c ARM: shmobile: rcar-gen2: Add missing of_node_put() 2022-01-27 09:19:40 +01:00
setup-emev2.c ARM: shmobile: convert to SPDX identifier 2018-06-18 12:00:29 +02:00
setup-r7s9210.c ARM: shmobile: Add basic RZ/A2 SoC support 2018-08-27 15:06:42 +02:00
setup-r7s72100.c ARM: shmobile: convert to SPDX identifier 2018-06-18 12:00:29 +02:00
setup-r8a73a4.c ARM: shmobile: Always enable ARCH_TIMER on SoCs with A7 and/or A15 2018-07-20 13:44:10 +02:00
setup-r8a7740.c ARM: shmobile: convert to SPDX identifier 2018-06-18 12:00:29 +02:00
setup-r8a7778.c ARM: shmobile: convert to SPDX identifier 2018-06-18 12:00:29 +02:00
setup-r8a7779.c ARM: shmobile: r8a7779: Remove unused includes 2018-08-27 15:02:54 +02:00
setup-rcar-gen2.c ARM: mach-shmobile: Don't init CNTVOFF/counter if PSCI is available 2019-05-31 11:38:01 +02:00
setup-sh73a0.c ARM: shmobile: convert to SPDX identifier 2018-06-18 12:00:29 +02:00
sh73a0.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smp-emev2.c ARM: shmobile: convert to SPDX identifier 2018-06-18 12:00:29 +02:00
smp-r8a7779.c ARM: shmobile: r8a7779: hide unused r8a7779_platform_cpu_kill 2018-07-20 13:44:09 +02:00
smp-sh73a0.c ARM: shmobile: sh73a0: Remove obsolete inclusion of <asm/smp_twd.h> 2018-11-16 07:27:19 -08:00
suspend.c ARM: shmobile: convert to SPDX identifiers 2018-09-11 15:41:30 +02:00
timer.c ARM: SoC platform updates for 4.20 2018-10-29 15:37:33 -07:00