]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: thermal: Adjust event notification routine
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Dec 2025 14:43:11 +0000 (15:43 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 26 Dec 2025 14:09:35 +0000 (15:09 +0100)
commita4975385997a6fa1a69c3e5004a48430830f960f
tree9bfd1b47634b4c5b600e7c6d728ec6fccf90d0e3
parentd27ccaebab98a77c236494e8fc6857c629b5ffdd
ACPI: thermal: Adjust event notification routine

Adjust acpi_thermal_notify() to cast its "data" argument to a struct
acpi_thermal pointer istead of a struct acpi_device one, which allows
the use of acpi_driver_data() to be limited and will facilitate
subsequent changes.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: lihuisong@huawei.com
Link: https://patch.msgid.link/5035876.GXAFRqVoOG@rafael.j.wysocki
drivers/acpi/thermal.c