Skip to content
Commit a2d05fb7 authored by Yang Yingliang's avatar Yang Yingliang Committed by Bartosz Golaszewski
Browse files

gpio: sim: add missing fwnode_handle_put() in gpio_sim_probe()



Calling fwnode_handle_put() when break out of device_for_each_child_node(),
or the device node reference will be leakd.

Fixes: 83960fcf4818 ("gpio: sim: new testing module")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
parent 572006bc
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