Skip to content
Commit 9a073d4f authored by Liang He's avatar Liang He Committed by Florian Fainelli
Browse files

soc: bcm: brcmstb: biuctrl: Add missing of_node_put()



In brcmstb_biuctrl_init(), of_find_compatible_node() will return a
node pointer with refcount incremented. We should use of_node_put()
in each fail path or when it is not used anymore.

Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 9b656879
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment