ARM: OMAP2+: pdata-quirks: Fix refcount leak bug
authorLiang He <windhl@126.com>
Sat, 18 Jun 2022 02:06:03 +0000 (10:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:03 +0000 (14:23 +0200)
commit75f23d72b6e0a34c8a0e8d275b69ba1e6dd0f15f
tree3a9b59be0447e222eb14b5629c3837ce7a6362d7
parenta89a865dc9f0600fd146224e314775b9efc9d845
ARM: OMAP2+: pdata-quirks: Fix refcount leak bug

[ Upstream commit 5cdbab96bab314c6f2f5e4e8b8a019181328bf5f ]

In pdata_quirks_init_clocks(), the loop contains
of_find_node_by_name() but without corresponding of_node_put().

Signed-off-by: Liang He <windhl@126.com>
Message-Id: <20220618020603.4055792-1-windhl@126.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/mach-omap2/pdata-quirks.c