Skip to content
Commit af8d0f6d authored by Wang Qing's avatar Wang Qing Committed by Jassi Brar
Browse files

mailbox: mtk: add missing of_node_put before return



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

Early exits from for_each_child_of_node should decrement the
node reference counter.

Signed-off-by: default avatarWang Qing <wangqing@vivo.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 24531288
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment