ARM: OMAP2+: display: Fix refcount leak bug
authorLiang He <windhl@126.com>
Fri, 17 Jun 2022 14:58:03 +0000 (22:58 +0800)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Jun 2022 04:39:52 +0000 (07:39 +0300)
commit50b87a32a79bca6e275918a711fb8cc55e16d739
treecb030e790c715bba2505f2a8febd8b04980a8e93
parent9705db1eff38d6b9114121f9e253746199b759c9
ARM: OMAP2+: display: Fix refcount leak bug

In omapdss_init_fbdev(), of_find_node_by_name() will return a node
pointer with refcount incremented. We should use of_node_put() when
it is not used anymore.

Signed-off-by: Liang He <windhl@126.com>
Message-Id: <20220617145803.4050918-1-windhl@126.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/display.c