diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-07 20:17:07 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-17 11:25:22 +0200 |
commit | 9caaad2ca02cb31fc235249f971cabdf8e11e28d (patch) | |
tree | 1ddd64afa3057eac9444b6c3b99365b10288884c /rust/macros/paste.rs | |
parent | ec23c1c462ded022ec0c3ed3fa92af6ca25b9599 (diff) |
ACPI: thermal: Rework thermal_get_trend()
Rework the ACPI thermal driver's .get_trend() callback function,
thermal_get_trend(), so that it does not call thermal_get_trip_type()
and thermal_get_trip_temp() which are going to be dropped.
This reduces the overhead of the function too, because it will always
carry out a trip point lookup once after the change.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions