Skip to content

platform/x86: asus: 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 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4platform/x86: asus-laptop: Register ACPI notify handler directlydrivers/platform/x86/asus-laptop.c+8 -31 reply
2/4platform/x86: asus-laptop: Convert ACPI driver to a platform onedrivers/platform/x86/asus-laptop.c+18 -175 replies
3/4platform/x86: asus-wireless: Register ACPI notify handler directlydrivers/platform/x86/asus-wireless.c+16 -41 reply
4/4platform/x86: asus-wireless: Convert ACPI driver to a platform onedrivers/platform/x86/asus-wireless.c+21 -182 replies

Reviews trailers per patch

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

PatchDenis Benato
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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/4] platform/x86: asus: 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 Asus platforms.

Patch [1/4] updates the asus-laptop 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.

Patche [2/4] converts the asus-laptop driver to using struct platform_driver for device binding.

Patch [3/4] updates the asus-wireless 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.

Patche [4/4] converts the asus-wireless driver to using struct platform_driver for device binding.

Thanks!