Liang He 81939c4fbc tty: serial: Fix refcount leak bug in ucc_uart.c
[ Upstream commit d24d7bb2cd947676f9b71fb944d045e09b8b282f ]

In soc_info(), of_find_node_by_type() will return a node pointer
with refcount incremented. We should use of_node_put() when it is
not used anymore.

Acked-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220618060850.4058525-1-windhl@126.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:38:18 +02:00
..
2020-10-28 13:39:14 +01:00
2020-01-29 10:13:27 -08:00
2020-08-18 13:51:18 +02:00
2020-05-15 12:22:19 +02:00
2020-10-05 13:32:30 +02:00
2020-08-18 13:51:18 +02:00
2020-01-29 10:13:27 -08:00
2022-06-14 18:32:33 +02:00
2022-06-14 18:32:33 +02:00
2022-06-14 18:32:33 +02:00
2020-04-16 16:13:34 +02:00
2020-01-29 10:13:27 -08:00