Wang Yufen 63ff545af7 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>
2022-12-06 10:10:46 +01:00
..
2022-10-08 09:46:29 -07:00
2022-10-08 09:46:29 -07:00
2022-10-08 09:46:29 -07:00
2022-01-11 12:31:35 -08:00
2021-04-14 10:19:22 +01:00
2022-08-04 18:34:05 -07:00
2021-05-05 16:07:41 +02:00
2022-10-08 09:46:29 -07:00
2022-06-23 23:18:13 +02:00
2022-10-08 09:46:29 -07:00
2022-06-21 18:01:11 +03:00
2022-06-06 14:09:16 +03:00
2022-04-01 10:26:09 -07:00
2021-11-08 11:55:21 -08:00
2022-01-14 18:50:52 -05:00
2022-10-08 09:46:29 -07:00
2022-08-04 18:34:05 -07:00
2022-10-10 13:28:06 -07:00
2022-10-08 09:46:29 -07:00
2022-06-05 09:12:28 -07:00
2022-10-11 10:53:25 -07:00
2022-10-11 10:53:25 -07:00