kernel/drivers/hwmon/xgene-hwmon.c
.. .. @@ -768,6 +768,7 @@ 768 768 { 769 769 struct xgene_hwmon_dev *ctx = platform_get_drvdata(pdev); 770 770 771 + cancel_work_sync(&ctx->workq);771 772 hwmon_device_unregister(ctx->hwmon_dev); 772 773 kfifo_free(&ctx->async_msg_fifo); 773 774 if (acpi_disabled)