mirror-linux/drivers/platform/chrome
Liang He 830d79af9e 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:03:16 +09:00
..
wilco_ec
Kconfig
Makefile
chromeos_acpi.c
chromeos_laptop.c
chromeos_privacy_screen.c
chromeos_pstore.c
chromeos_tbmc.c
cros_ec.c
cros_ec.h
cros_ec_chardev.c
cros_ec_debugfs.c
cros_ec_i2c.c
cros_ec_ishtp.c
cros_ec_lightbar.c
cros_ec_lpc.c
cros_ec_lpc_mec.c
cros_ec_lpc_mec.h
cros_ec_proto.c
cros_ec_proto_test.c
cros_ec_rpmsg.c
cros_ec_sensorhub.c
cros_ec_sensorhub_ring.c
cros_ec_sensorhub_trace.h
cros_ec_spi.c
cros_ec_sysfs.c
cros_ec_trace.c
cros_ec_trace.h
cros_ec_typec.c
cros_ec_vbc.c
cros_kbd_led_backlight.c
cros_kunit_util.c
cros_kunit_util.h
cros_typec_switch.c platform/chrome: cros_typec_switch: Add missing fwnode_handle_put() 2023-05-11 23:03:16 +09:00
cros_usbpd_logger.c
cros_usbpd_notify.c