Skip to content

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

Rafael J. Wysocki linux-acpi lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 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+25 -54 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+96 -1040 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

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

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

Read the v1 thread

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

Hi All,

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

Thanks!