linux/drivers/platform/chrome
Krzysztof Kozlowski 168e4b208c platform/chrome: cros_usbpd_logger: Simplify with devm
Simplify the driver by using devm interfaces, which allow to drop
probe() error paths and the remove() callback.

Change is not equivalent in the workqueue itself: use non-legacy API
which does not set (__WQ_LEGACY | WQ_MEM_RECLAIM).  The workqueue is
used to update logs, thus there is no point to run it for memory
reclaim.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20260305-workqueue-devm-v2-10-66a38741c652@oss.qualcomm.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
2026-03-20 02:57:04 +00:00
..
wilco_ec platform/chrome: wilco_ec: event: Convert to a platform driver 2026-03-06 04:35:07 +00:00
Kconfig
Makefile
chromeos_acpi.c
chromeos_laptop.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
chromeos_of_hw_prober.c
chromeos_privacy_screen.c platform/chrome: Convert ChromeOS privacy-screen driver to platform 2026-03-06 04:35:07 +00:00
chromeos_pstore.c
chromeos_tbmc.c platform/chrome: chromeos_tbmc: Convert to a platform driver 2026-03-06 04:35:07 +00:00
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 platform/chrome: lightbar: Optimize command size 2026-02-23 15:34:17 +08:00
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_proto_test_util.c
cros_ec_proto_test_util.h
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_typec.h
cros_ec_uart.c
cros_ec_vbc.c
cros_hps_i2c.c
cros_kbd_led_backlight.c
cros_typec_altmode.c
cros_typec_altmode.h
cros_typec_switch.c
cros_typec_vdm.c
cros_typec_vdm.h
cros_usbpd_logger.c platform/chrome: cros_usbpd_logger: Simplify with devm 2026-03-20 02:57:04 +00:00
cros_usbpd_notify.c