android_kernel_msm-6.1_noth.../drivers/platform/surface
Liang He 53dc0b69fb platform/surface: aggregator: Add missing fwnode_handle_put()
[ Upstream commit acd0acb802b90f88d19ad4337183e44fd0f77c50 ]

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: fc622b3d36 ("platform/surface: Set up Surface Aggregator device registry")
Signed-off-by: Liang He <windhl@126.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20230322033057.1855741-1-windhl@126.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-06 12:10:43 +02:00
..
aggregator platform/surface: aggregator: Add missing fwnode_handle_put() 2023-04-06 12:10:43 +02:00
Kconfig
Makefile
surface3-wmi.c
surface3_power.c
surface_acpi_notify.c
surface_aggregator_cdev.c
surface_aggregator_hub.c
surface_aggregator_registry.c
surface_aggregator_tabletsw.c
surface_dtx.c
surface_gpe.c
surface_hotplug.c
surface_platform_profile.c
surfacepro3_button.c