[PATCH v2 0/3] platform/x86: system76: Bind to a platform device instead of an ACPI one
From: Rafael J. Wysocki
Date: Wed Mar 18 2026 - 10:03:38 EST
Hi All,
This is an update of
https://lore.kernel.org/linux-acpi/2841136.mvXUDI8C0e@rafael.j.wysocki/
adding one preparatory patch and updating the other patches to implement
the probe rollback code path slightly differently.
The original description of the patch series below is still mostly
applicable.
This series is part of a larger effort to switch over all drivers using
the struct acpi_driver interface to the more common struct platform_driver
interface and eliminate the former. The background is explained in
Documentation/driver-api/acpi/acpi-drivers.rst and in the changelog of
the patch that introduced the above document:
https://lore.kernel.org/all/2396510.ElGaqSPkdT@rafael.j.wysocki/
The bottom line is that the kernel would be better off without struct
acpi_driver and so it is better to get rid of it.
This series carries out driver conversion of the platform x86 System76
ACPI driver.
Patch [1/3] removes redundant devm_led_classdev_unregister() calls from
system76_remove().
Patch [2/3] updates the driver to install an ACPI notify handler by itself
instead of using the .notify() callback from struct acpi_driver, which is
requisite for the driver conversion.
Patch [3/3] converts the driver to using struct platform_driver for device
binding.
Thanks!