]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Add missing put_device() call in omapdss_init_of()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 9 Nov 2019 16:19:35 +0000 (17:19 +0100)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Nov 2019 20:52:51 +0000 (12:52 -0800)
commitff1c042359e3344fe6831a98d114ba51c021f637
tree21d8046e4cae203d648fd40a6aa7d6b151e6ee94
parent42b54dbf9875861ea5e2b1efd019e58c2e0db8a9
ARM: OMAP2+: Add missing put_device() call in omapdss_init_of()

A coccicheck run provided information like the following.

arch/arm/mach-omap2/display.c:268:2-8: ERROR: missing put_device;
call of_find_device_by_node on line 258, but without a corresponding
object release within this function.

Generated by: scripts/coccinelle/free/put_device.cocci

Thus add the missed function call to fix the exception handling for
this function implementation.

Fixes: 61b9921aa125182054ad6c8ee8dbaa93d68f1b4d ("drm/omap: Populate DSS children in omapdss driver")
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/display.c