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
..
2022-06-03 20:48:53 +02:00
2022-05-27 15:56:30 +02:00
2022-05-26 14:51:38 -07:00
2022-06-02 15:23:54 -07:00
2022-05-25 19:18:36 -07:00
2022-06-03 20:48:53 +02:00
2022-06-02 15:27:44 -07:00