diff options
author | Michal Wilczynski <michal.wilczynski@intel.com> | 2023-07-03 10:02:52 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-07-14 19:08:52 +0200 |
commit | 9d67b6acf1358b67a6de3302dc9c344a7cab4807 (patch) | |
tree | 61a594bad55687db60b922b587c409b1b536e5cc /kernel/sys.c | |
parent | ACPI: NFIT: Remove unnecessary .remove callback (diff) | |
download | linux-9d67b6acf1358b67a6de3302dc9c344a7cab4807.tar.xz linux-9d67b6acf1358b67a6de3302dc9c344a7cab4807.zip |
ACPI: thermal: Install Notify() handler directly
Modify the ACPI thermal driver to install its own Notify() handler
directly instead of providing an ACPI driver .notify() callback.
This will allow the ACPI driver .notify() callback to be eliminated and
it will allow the thermal driver to be switched over to a platform one
in the future.
While at it, fix up whitespaces in acpi_thermal_remove().
Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
[ rjw: Subject and changelog edits, whitespace adjustments ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions