Skip to content

platform/x86: fujitsu: Bind drivers to platform devices instead of ACPI ones

Rafael J. Wysocki linux-acpi lkml platform-driver-x86 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v2 posting 2/25 patches 5 repliesSuperseded
  3. v2 posting 1/26 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5platform/x86: fujitsu-tablet: Convert ACPI driver to a platform onedrivers/platform/x86/fujitsu-tablet.c+14 -160 replies
2/5platform/x86: fujitsu: Reorder code to avoid forward declarationsdrivers/platform/x86/fujitsu-laptop.c+108 -1080 replies
3/5platform/x86: fujitsu: Register ACPI notify handlers directlydrivers/platform/x86/fujitsu-laptop.c+27 -50 replies
4/5platform/x86: fujitsu: Convert backlight driver to a platform onedrivers/platform/x86/fujitsu-laptop.c+58 -590 replies
5/5platform/x86: fujitsu: Convert laptop driver to a platform onedrivers/platform/x86/fujitsu-laptop.c+97 -1050 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJonathan Woithe
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

Hi All,

This is an update of

https://lore.kernel.org/linux-acpi/[email protected]/

that updates 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 v2 (and 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/[email protected]/

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] replace two instances of the struct acpi_driver interface in the fujitsu-laptop driver with struct platform_driver.

Thanks!