summaryrefslogtreecommitdiff
path: root/tools/power
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-05 19:56:14 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-07 18:06:00 +0100
commit57336224da8340fd503e1cc325cc9e0875ccc9a6 (patch)
tree4194a75ea71c35a990bfa535c319406a6379c997 /tools/power
parent76dcd734eca23168cb008912c0f69ff408905235 (diff)
ACPI: thermal: Adjust critical.flags.valid check
It is not necessary to compare critical.flags.valid to 1 in acpi_thermal_trips_update() and doing so is also inconsistent with other similar checks in that code, so simply check if the flag is not 0 instead. No expected functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions