Skip to content
Commit 7c6daeaf authored by WangBo's avatar WangBo Committed by Linus Walleij
Browse files

pinctrl: nomadik: fix possible object reference leak



The of_find_device_by_node takes a reference to the struct device
when find the match device ,we should release it when fail.

Signed-off-by: default avatarWangBo <wang.bo116@zte.com.cn>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e003ec6a
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