Skip to content
Commit 53dc0b69 authored by Liang He's avatar Liang He Committed by Greg Kroah-Hartman
Browse files

platform/surface: aggregator: Add missing fwnode_handle_put()



[ Upstream commit acd0acb8 ]

In fwnode_for_each_child_node(), we should add
fwnode_handle_put() when break out of the iteration
fwnode_for_each_child_node() as it will automatically
increase and decrease the refcounter.

Fixes: fc622b3d ("platform/surface: Set up Surface Aggregator device registry")
Signed-off-by: default avatarLiang He <windhl@126.com>
Reviewed-by: default avatarMaximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20230322033057.1855741-1-windhl@126.com


Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f0a67ad7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment