Skip to content
Commit 9bc72e47 authored by Peng Wu's avatar Peng Wu Committed by Wei Xu
Browse files

ARM: hisi: Add missing of_node_put after of_find_compatible_node



of_find_compatible_node  will increment the refcount of the returned
device_node. Calling of_node_put() to avoid the refcount leak

Signed-off-by: default avatarPeng Wu <wupeng58@huawei.com>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 31231092
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment