]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: toshiba_acpi: Register ACPI notify handler directly
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 24 Mar 2026 19:58:48 +0000 (20:58 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 31 Mar 2026 16:14:26 +0000 (19:14 +0300)
commitb0bcf48c74cc7f72d1b6effc7cecdae871b1785e
treea1bbe735eaf108e105344e253ff97e3084c29490
parent99aef5d711c6e463ceff34d0657eca4b4558996a
platform/x86: toshiba_acpi: 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/5070377.GXAFRqVoOG@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/toshiba_acpi.c