public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] platform/x86: panasonic-laptop: Bind to a platform device instead of an ACPI one
@ 2026-03-20 10:29 Rafael J. Wysocki
  2026-03-20 10:30 ` [PATCH v4 1/5] platform/x86: panasonic-laptop: Make pcc_register_optd_notifier() void Rafael J. Wysocki
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Rafael J. Wysocki @ 2026-03-20 10:29 UTC (permalink / raw)
  To: Ilpo Järvinen
  Cc: LKML, Linux ACPI, Hans de Goede, platform-driver-x86,
	Kenneth Chan

Hi All,

This is an update of

https://lore.kernel.org/linux-acpi/12863246.O9o76ZdvQC@rafael.j.wysocki/

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/2396510.ElGaqSPkdT@rafael.j.wysocki/

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!




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-03-23 10:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 10:29 [PATCH v4 0/5] platform/x86: panasonic-laptop: Bind to a platform device instead of an ACPI one Rafael J. Wysocki
2026-03-20 10:30 ` [PATCH v4 1/5] platform/x86: panasonic-laptop: Make pcc_register_optd_notifier() void Rafael J. Wysocki
2026-03-20 10:31 ` [PATCH v4 2/5] platform/x86: panasonic-laptop: Fix OPTD notifier registration and cleanup Rafael J. Wysocki
2026-03-20 10:33 ` [PATCH v4 3/5] platform/x86: panasonic-laptop: Remove redundant checks from 3 functions Rafael J. Wysocki
2026-03-20 10:34 ` [PATCH v4 4/5] platform/x86: panasonic-laptop: Register ACPI notify handler directly Rafael J. Wysocki
2026-03-20 10:35 ` [PATCH v4 5/5] platform/x86: panasonic-laptop: Convert ACPI driver to a platform one Rafael J. Wysocki
2026-03-23 10:46 ` [PATCH v4 0/5] platform/x86: panasonic-laptop: Bind to a platform device instead of an ACPI one Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox