Skip to content

platform/x86: lg-laptop: Bind to a platform device instead of an ACPI one

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 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/x86: lg-laptop: Drop debug-only ACPI notify handlerdrivers/platform/x86/lg-laptop.c+0 -60 replies
2/2platform/x86: lg-laptop: Convert ACPI driver to a platform onedrivers/platform/x86/lg-laptop.c+13 -320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] platform/x86: lg-laptop: Bind to a platform device instead of an ACPI one

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 conversion of the platform x86 LG Gram ACPI features and hotkeys driver.

Patch [1/2] drops a debug-only .notify() callback from the driver, which is requisite for the driver conversion.

Patch [2/2] converts the driver to using struct platform_driver for device binding.

Thanks!