]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
platform/x86: topstar-laptop: Register ACPI notify handler directly
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 12 Mar 2026 14:32:36 +0000 (15:32 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 17 Mar 2026 17:50:08 +0000 (19:50 +0200)
commita15d1839c77884ad08b72fe2e18d8df7b32c5c0f
tree8ce290b928e3de2ed1dfb5291536001b6ad28f9f
parent138db7ee58c0c0911fc4f79ccd7c5846f7b9408b
platform/x86: topstar-laptop: Register ACPI notify handler directly

To facilitate subsequent conversion of the driver to a platform one,
make it install an ACPI notify handler directly instead of using
a .notify() callback in struct acpi_driver.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3425557.44csPzL39Z@rafael.j.wysocki
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/topstar-laptop.c