platform/x86: panasonic-laptop: Bind to a platform device instead of an ACPI one
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 1 replyIn review
- v35 patches 0 repliesSuperseded
- v2 posting 3/34 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 2/3 | 2 patches | 1 reply | Superseded | |
| v2 posting 1/3 | 3 patches | 1 reply | Superseded | |
| v1 | 2 patches | 1 reply | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | platform/x86: panasonic-laptop: Make pcc_register_optd_notifier() voiddrivers/ | +2 | 0 replies | |
| 2/5 | platform/x86: panasonic-laptop: Fix OPTD notifier registration and cleanupdrivers/ | +3 | 0 replies | |
| 3/5 | platform/x86: panasonic-laptop: Remove redundant checks from 3 functionsdrivers/ | +1 | 0 replies | |
| 4/5 | platform/x86: panasonic-laptop: Register ACPI notify handler directlydrivers/ | +15 | 0 replies | |
| 5/5 | platform/x86: panasonic-laptop: Convert ACPI driver to a platform onedrivers/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/5] platform/x86: panasonic-laptop: Bind to a platform device instead of an ACPI one
Hi All,
This is an update of
https://lore.kernel.org/linux-acpi/[email protected]/
addressing a driver_data pointer leak in the last patch. The other patches in the series remain unchanged.
The previous series description 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 conversion of the platform x86 Panasonic hotkey and LCD brightness control driver.
Patch [1/5] changes one function return type to void.
Patch [2/5] fixes the rollback path in acpi_pcc_hotkey_add() and rearranges the driver removal code ordering to match it.
Patch [3/5] removes some redundant checks from the driver.
Patch [4/5] 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 [5/5] converts the driver to using struct platform_driver for device binding.
Thanks!