Home
last modified time | relevance | path

Searched hist:"7 c6daeaf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c7c6daeaf Fri Feb 15 02:01:36 CST 2019 WangBo <wdjjwb@163.com> 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: WangBo <wang.bo116@zte.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
7c6daeaf Fri Feb 15 02:01:36 CST 2019 WangBo <wdjjwb@163.com> 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: WangBo <wang.bo116@zte.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>