ACPI: thermal: Drop struct acpi_thermal_flags
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 4 Jun 2023 12:21:13 +0000 (14:21 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Jun 2023 18:16:44 +0000 (20:16 +0200)
commitc31b3a1b004c1052c9bcc3f7534e393e205be1cb
treec6afa0f11d760251cc79096077912317c7a7a6c8
parentf75fbe28e8b50517402f17a4fa00aaa8a1314a28
ACPI: thermal: Drop struct acpi_thermal_flags

Drop struct acpi_thermal_flags which is not really used (only one
flag in it is ever set, but it is never read) and call
acpi_execute_simple_method() directly to evaluate _SCP instead of
using acpi_thermal_set_cooling_mode(), which has no callers after
that change, so drop it.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/acpi/thermal.c