Re: [PATCH v1 4/6] platform/chrome: chromeos_tbmc: Convert to a platform driver
From: Tzung-Bi Shih
Date: Thu Mar 05 2026 - 10:31:31 EST
On Wed, Mar 04, 2026 at 07:44:26PM +0100, Rafael J. Wysocki wrote:
> static void chromeos_tbmc_notify(acpi_handle handle, u32 event, void *data)
> {
> - struct acpi_device *adev = data;
> + struct device *dev = data;
> + struct acpi_device *adev = ACPI_COMPANION(dev);
>
> acpi_pm_wakeup_event(&adev->dev);
^^^^^^^^^^
If I understand it correctly, I think this should also be changed to `dev`?