Qiheng Lin
54c03bfd09
power: supply: Fix refcount leak in rk817_charger_probe
...
of_get_child_by_name() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.
Fixes: 11cb8da0189b ("power: supply: Add charger driver for Rockchip RK817")
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Reviewed-by: Chris Morgan <macromorgan@hotmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2022-12-03 02:03:24 +01:00
..
2021-04-02 14:14:58 +02:00
2022-11-17 23:47:23 +01:00
2022-02-28 11:34:31 +01:00
2022-07-17 01:00:25 +02:00
2022-10-05 23:47:04 +02:00
2022-11-26 23:14:32 +01:00
2022-08-12 09:37:33 -07:00
2022-02-28 11:34:31 +01:00
2022-07-17 00:51:35 +02:00
2021-01-14 23:39:43 +01:00
2021-04-20 16:18:08 +02:00
2022-11-20 20:12:16 +01:00
2022-03-04 22:20:32 +01:00
2022-02-01 11:18:47 +01:00
2022-03-04 22:20:32 +01:00
2022-05-13 17:03:40 +09:00
2022-05-03 17:01:53 +02:00
2022-11-01 01:01:50 +01:00
2020-05-10 02:35:49 +02:00
2020-10-20 10:56:34 -07:00
2022-11-20 20:12:16 +01:00
2022-09-11 15:04:59 +02:00
2022-11-20 20:12:16 +01:00
2022-11-20 20:12:16 +01:00
2022-11-20 20:12:16 +01:00
2022-11-20 20:12:16 +01:00
2022-11-20 20:12:16 +01:00
2022-11-20 20:12:16 +01:00
2022-11-28 00:02:52 +01:00
2022-11-20 20:12:16 +01:00
2020-10-04 01:54:35 +02:00
2022-05-13 17:03:40 +09:00
2020-11-30 02:18:49 +01:00
2022-06-10 14:51:36 +02:00
2022-09-11 10:52:05 +02:00
2022-06-09 22:03:27 +02:00
2022-01-31 22:42:25 +01:00
2022-11-24 23:00:00 +01:00
2020-07-27 00:05:56 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-03-04 22:20:33 +01:00
2021-01-28 01:31:42 +01:00
2021-01-16 12:36:26 +01:00
2021-03-22 15:05:41 +01:00
2022-11-20 20:12:16 +01:00
2021-04-08 14:35:19 +02:00
2022-06-09 20:27:21 +02:00
2020-08-27 21:13:23 +02:00
2022-01-03 18:53:10 +01:00
2022-03-04 22:33:00 +01:00
2020-01-17 02:13:00 +01:00
2020-04-10 15:36:22 -07:00
2022-10-07 11:48:30 -07:00
2020-08-26 17:25:45 +02:00
2022-11-20 20:12:16 +01:00
2022-10-28 15:53:46 +02:00
2022-11-20 20:12:16 +01:00
2022-11-20 20:12:16 +01:00
2022-10-07 11:48:30 -07:00
2022-10-01 21:10:07 +02:00
2021-01-12 23:23:49 +01:00
2020-08-23 17:36:59 -05:00
2022-05-13 17:03:40 +09:00
2020-06-19 19:58:23 +02:00
2021-04-20 16:18:08 +02:00
2022-11-20 20:12:16 +01:00
2022-11-20 20:12:16 +01:00
2022-11-20 20:12:16 +01:00
2019-12-19 01:13:26 +01:00
2022-06-09 19:27:14 +02:00
2022-02-01 10:32:35 +01:00
2022-11-01 01:01:50 +01:00
2022-10-01 22:17:45 +02:00
2022-07-17 01:05:54 +02:00
2019-05-30 11:26:32 -07:00
2019-12-19 01:07:53 +01:00
2019-06-19 17:09:55 +02:00
2022-11-17 23:38:10 +01:00
2022-02-11 19:45:52 +01:00
2019-05-30 11:29:54 -07:00
2022-09-11 14:11:53 +02:00
2019-05-30 11:29:54 -07:00
2021-11-30 11:34:27 +01:00
2022-12-03 02:03:24 +01:00
2021-08-13 18:38:17 +02:00
2022-11-20 20:12:17 +01:00
2022-11-20 20:12:17 +01:00
2020-04-10 15:36:22 -07:00
2021-04-08 14:36:08 +02:00
2022-04-13 12:05:22 +02:00
2022-03-04 22:20:18 +01:00
2021-08-06 23:48:51 +02:00
2022-11-20 20:12:17 +01:00
2022-11-20 20:12:17 +01:00
2022-01-03 18:53:10 +01:00
2022-01-03 18:53:10 +01:00
2022-11-20 20:12:17 +01:00
2022-06-13 17:25:08 +02:00
2022-06-13 17:25:08 +02:00
2020-10-09 01:02:30 +02:00
2022-05-07 22:55:33 +02:00
2021-03-22 14:54:24 +01:00
2022-09-11 12:09:10 +02:00
2020-03-11 23:20:32 +01:00
2019-05-21 10:50:45 +02:00
2022-11-20 20:12:17 +01:00
2022-02-11 19:08:35 +01:00
2020-07-31 14:33:56 +02:00
2021-01-13 22:25:07 +01:00
2019-06-19 17:09:55 +02:00
2021-10-02 17:31:15 +02:00
2022-03-04 22:20:32 +01:00
2022-11-24 22:46:06 +01:00