linux-stable/arch/arm/mach-shmobile
Liang He 75a185fb92 ARM: shmobile: rcar-gen2: Increase refcount for new reference
In rcar_gen2_regulator_quirk(), for_each_matching_node_and_match() will
automatically increase and decrease the refcount.  However, we should
call of_node_get() for the new reference created in 'quirk->np'.
Besides, we also should call of_node_put() before the 'quirk' being
freed.

Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220701121804.234223-1-windhl@126.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2022-07-05 09:08:35 +02:00
..
Kconfig ARM: remove support for NOMMU ARMv4/v5 2022-03-17 09:13:13 +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 remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
platsmp-scu.c ARM: shmobile: Stop using __raw_*() I/O accessors 2020-11-23 09:54:59 +01:00
platsmp.c ARM: shmobile: convert to SPDX identifiers 2018-09-11 15:41:30 +02:00
pm-rcar-gen2.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
r8a7779.h ARM: shmobile: r8a7779: Remove explicit SYSC config and init 2018-06-18 12:00:28 +02:00
rcar-gen2.h ARM: shmobile: rcar-gen2: Make rcar_gen2_{timer_init, reserve}() static 2020-09-10 19:01:26 +02:00
regulator-quirk-rcar-gen2.c ARM: shmobile: rcar-gen2: Increase refcount for new reference 2022-07-05 09:08:35 +02:00
setup-emev2.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r7s9210.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r7s72100.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r8a73a4.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r8a7740.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r8a7778.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r8a7779.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-rcar-gen2.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-sh73a0.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +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: Stop using __raw_*() I/O accessors 2020-11-23 09:54:59 +01:00
smp-sh73a0.c ARM: shmobile: Stop using __raw_*() I/O accessors 2020-11-23 09:54:59 +01: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