ARM: OMAP2+: pdata-quirks: Fix refcount leak bug
authorLiang He <windhl@126.com>
Sat, 18 Jun 2022 02:06:03 +0000 (10:06 +0800)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Jun 2022 04:58:51 +0000 (07:58 +0300)
commit5cdbab96bab314c6f2f5e4e8b8a019181328bf5f
tree88eddf311011bac3aa06b3151b828e9d65db0123
parent50b87a32a79bca6e275918a711fb8cc55e16d739
ARM: OMAP2+: pdata-quirks: Fix refcount leak bug

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>
arch/arm/mach-omap2/pdata-quirks.c