Files
linux-kernelorg-stable/drivers/misc
Felix Gu d2975604bf misc: ti_fpc202: fix a potential memory leak in probe function
[ Upstream commit dad9f13d96 ]

Use for_each_child_of_node_scoped() to simplify the code and ensure the
device node reference is automatically released when the loop scope
ends.

Signed-off-by: Felix Gu <gu_0233@qq.com>
Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Link: https://patch.msgid.link/tencent_FA1AC670F5CF49873F88A44424F866994A08@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:20:34 -05:00
..
2025-06-24 16:45:08 +01:00
2025-06-16 11:50:34 -07:00