]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: sony-laptop: Register ACPI notify handler directly
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 12 Mar 2026 11:28:52 +0000 (12:28 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 17 Mar 2026 17:39:58 +0000 (19:39 +0200)
commit0f2ca62fdfbcada9568fbc7e27e94e4b3bffbf7a
treebbe5319f1f241b7fccea4bfb4d35753e2d61e29b
parent2d9cb20610f75ca48c1cac064aede90196787507
platform/x86: sony-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/2559802.jE0xQCEvom@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/sony-laptop.c