platform/x86: xo15-ebook: Bind to a platform device instead of an ACPI one
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | platform/x86: xo15-ebook: Fix wakeup source and GPE handlingdrivers/ | +6 | 0 replies | |
| 2/4 | platform/x86: xo15-ebook: Fix formatting of labelsdrivers/ | +2 | 0 replies | |
| 3/4 | platform/x86: xo15-ebook: Register ACPI notify handler directlydrivers/ | +14 | 6 replies | |
| 4/4 | platform/x86: xo15-ebook: Convert ACPI driver to a platform onedrivers/ | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/4] platform/x86: xo15-ebook: 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 xo15-ebook driver on top of 3 preliminary changes.
Patch [1/4] fixes the handling of a wakeup source and ACPI GPE in the driver during probe and removal.
Patch [2/4] cleans up label formatting in ebook_switch_add().
Patch [3/4] updates the 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.
Patch [4/4] converts the driver to using struct platform_driver for device binding.
Thanks!