summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-pcie-idio-24.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-12-21 19:38:25 +0800
committerBartosz Golaszewski <brgl@bgdev.pl>2021-12-21 16:19:14 +0100
commita2d05fb73493ca89b36c7d2c3ffc76effbfcd763 (patch)
tree5170b6c499e42e17046cdd391b67250fa1e559b1 /drivers/gpio/gpio-pcie-idio-24.c
parent572006bce34caee37af84a8946895a495c56624a (diff)
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: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/gpio/gpio-pcie-idio-24.c')
0 files changed, 0 insertions, 0 deletions