linux-stable/drivers/platform
Liang He 3c9b13b257 platform/chrome: cros_typec_switch: Add missing fwnode_handle_put()
[ Upstream commit dc70234c40 ]

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

Fixes: affc804c44 ("platform/chrome: cros_typec_switch: Add switch driver")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20230322041657.1857001-1-windhl@126.com
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:11:07 +09:00
..
chrome platform/chrome: cros_typec_switch: Add missing fwnode_handle_put() 2023-05-11 23:11:07 +09:00
goldfish
loongarch platform/loongarch: laptop: Fix possible UAF and simplify generic_acpi_laptop_init() 2022-10-29 16:29:31 +08:00
mellanox platform: mellanox: select REGMAP instead of depending on it 2023-03-17 08:57:58 +01:00
mips platform/mips: Adjust Kconfig to keep consistency 2022-12-08 11:51:52 +01:00
olpc
surface platform/surface: aggregator: Add missing fwnode_handle_put() 2023-04-06 12:12:32 +02:00
x86 platform/x86/amd: pmc: Move out of BIOS SMN pair for STB init 2023-05-11 23:11:05 +09:00
Kconfig platform/mips: Adjust Kconfig to keep consistency 2022-12-08 11:51:52 +01:00
Makefile LoongArch: Add ACPI-based generic laptop driver 2022-10-12 16:36:20 +08:00