]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: fan: Use ACPI handle when retrieving _FST
authorArmin Wolf <W_Armin@gmx.de>
Tue, 7 Oct 2025 23:41:44 +0000 (01:41 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 24 Oct 2025 08:29:08 +0000 (10:29 +0200)
commit58764259ebe0c9efd569194444629f6b26f86583
tree57b2fa7c6e9dec2e278266cfcd34fd6fb82f94c3
parent211ddde0823f1442e4ad052a2f30f050145ccada
ACPI: fan: Use ACPI handle when retrieving _FST

Usage of the ACPI device should be phased out in the future, as
the driver itself is now using the platform bus.

Replace any usage of struct acpi_device in acpi_fan_get_fst() to
allow users to drop usage of struct acpi_device.

Also extend the integer check to all three package elements.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20251007234149.2769-2-W_Armin@gmx.de
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/fan.h
drivers/acpi/fan_attr.c
drivers/acpi/fan_core.c
drivers/acpi/fan_hwmon.c