Skip to content
Commit 883f464c authored by Wang Qing's avatar Wang Qing Committed by Tony Lindgren
Browse files

ARM: OMAP2+: add missing of_node_put before break and return



Fix following coccicheck warning:
WARNING: Function "for_each_matching_node_and_match"
should have of_node_put() before return.

Early exits from for_each_matching_node_and_match should decrement the
node reference counter.

Signed-off-by: default avatarWang Qing <wangqing@vivo.com>
Message-Id: <1639388545-63615-1-git-send-email-wangqing@vivo.com>
[tony@atomide.com: updated for omap_hwmod.c that was already patched]
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 71ff461c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment