Files
Christophe JAILLET db3a3a1556 misc: rp1: Fix an error handling path in rp1_probe()
[ Upstream commit 43cd4b634e ]

When DT is used to get the reference of 'rp1_node', it should be released
when not needed anymore, otherwise it is leaking.

In such a case, add the missing of_node_put() call at the end of the probe,
as already done in the error handling path.

Fixes: 49d63971f9 ("misc: rp1: RaspberryPi RP1 misc driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andrea della Porta <andrea.porta@suse.com>
Link: https://patch.msgid.link/9bc1206de787fa86384f3e5ba0a8027947bc00ff.1762585959.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 13:59:58 +01:00
..
2025-06-24 16:45:08 +01:00
2025-06-16 11:50:34 -07:00
2024-08-13 11:27:38 +02:00
2025-06-24 16:46:13 +01:00
2024-05-22 08:31:17 -04:00
2024-10-13 17:11:51 +02:00