diff options
author | Wang Yufen <wangyufen@huawei.com> | 2022-12-05 09:19:56 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2022-12-06 12:10:46 +0300 |
commit | 63ff545af73f759d1bd04198af8ed8577fb739fc (patch) | |
tree | 37b035baf309fc21b156ea556723fec4f694a092 /tools/perf/scripts/python/sched-migration.py | |
parent | 45fecdb9f658d9c82960c98240bc0770ade19aca (diff) | |
download | linux-63ff545af73f759d1bd04198af8ed8577fb739fc.tar.xz |
gpio/rockchip: fix refcount leak in rockchip_gpiolib_register()
The node returned by of_get_parent() with refcount incremented,
of_node_put() needs be called when finish using it. So add it in the
end of of_pinctrl_get().
Fixes: 936ee2675eee ("gpio/rockchip: add driver for rockchip gpio")
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions