platform/x86: fujitsu: Bind drivers to platform devices instead of ACPI ones
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 1 replyIn review
- v2 posting 2/25 patches 5 repliesSuperseded
- v2 posting 1/26 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 6 patches | 6 replies | Superseded |
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | platform/x86: fujitsu-tablet: Convert ACPI driver to a platform onedrivers/ | +14 | 0 replies | |
| 2/5 | platform/x86: fujitsu: Reorder code to avoid forward declarationsdrivers/ | +108 | 0 replies | |
| 3/5 | platform/x86: fujitsu: Register ACPI notify handlers directlydrivers/ | +27 | 0 replies | |
| 4/5 | platform/x86: fujitsu: Convert backlight driver to a platform onedrivers/ | +58 | 0 replies | |
| 5/5 | platform/x86: fujitsu: Convert laptop driver to a platform onedrivers/ | +97 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jonathan Woithe |
|---|---|
| 1/5 | A-b |
| 2/5 | A-b |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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!