diff options
author | 2021-11-16 06:27:26 +0000 | |
---|---|---|
committer | 2021-12-17 14:08:59 +0200 | |
commit | 34596ba380b03d181e24efd50e2f21045bde3696 (patch) | |
tree | 3c7d4d4257f61f31b0768b76e88bdd28b0f7ce84 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: OMAP2+: hwmod: Add of_node_put() before break (diff) | |
download | wireguard-linux-34596ba380b03d181e24efd50e2f21045bde3696.tar.xz wireguard-linux-34596ba380b03d181e24efd50e2f21045bde3696.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions