ACPI: thermal: Drop critical_valid and hot_valid trip flags
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Sep 2023 18:04:49 +0000 (20:04 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Sep 2023 17:27:19 +0000 (19:27 +0200)
commitc8f46f43a1db7a9a46cd9313aa434380238e874f
treed16c99d111e336937af412119a90113009c10c6f
parentd5ea889246b112e228433a5f27f57af90ca0c1fb
ACPI: thermal: Drop critical_valid and hot_valid trip flags

The critical_valid and hot_valid flags in struct acpi_thermal_trips are
only used during initialization and they are only false if the
corresponding trip temperatures are equal to THERMAL_TEMP_INVALID, so
drop them and use THERMAL_TEMP_INVALID checks instead of them where
applicable.

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