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

mailbox: zynq: add missing of_node_put before return



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

Early exits from for_each_available_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 05d06f37
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