linux/arch/arm/mach-omap2
Ye Guojin 34596ba380 ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
This was found by coccicheck:
./arch/arm/mach-omap2/display.c, 272, 1-7, ERROR missing put_device;
call of_find_device_by_node on line 258, but without a corresponding
object release within this function.

Move the put_device() call before the if judgment.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-12-17 14:08:59 +02:00
..
2021-01-26 13:43:17 +02:00
2020-08-23 17:36:59 -05:00
2015-07-16 00:06:05 -07:00
2019-07-19 17:05:08 -07:00
2020-10-24 10:33:08 -07:00
2020-09-24 14:26:20 +03:00
2020-09-24 14:26:20 +03:00
2021-10-06 10:24:44 +03:00
2019-06-28 08:37:04 +08:00
2020-04-21 09:41:53 -07:00
2019-07-19 17:05:08 -07:00
2021-04-26 11:48:26 -07:00