[PATCH v2 0/5] platform/x86: fujitsu: Bind drivers to platform devices instead of ACPI ones

From: Rafael J. Wysocki

Date: Mon Mar 09 2026 - 13:18:40 EST


Hi All,

This is an update of

https://lore.kernel.org/linux-acpi/1968442.tdWV9SEqCh@rafael.j.wysocki/

that fixes an error code path issue in patch [3/5]. That change also
requires patch [5/5] to be modified, but the other patches are the same
as in v1.

The patch series summary below still applies.

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 conversions of the platform x86 drivers
for Fujitsu platforms.

Patch [1/5] converts the fujitsu-tablet to a proper platform one based
on the struct platform_driver interface.

Patch [2/5] rearranges the code in the fujitsu-laptop driver to avoid
introducing forward declarations of some functions in the subsequent
patches.

Patch [3/5] updates the fujitsu-laptop driver to install ACPI notify
handlers by itself instead of using .notify() callbacks from struct
acpi_driver, which is requisite for the driver conversion.

Patches [4-5/5] replaces two instances of the struct acpi_driver
interface in the fujitsu-laptop driver with struct platform_driver.

Thanks!