diff options
| author | Rafael J. Wysocki <[email protected]> | 2023-08-22 11:40:06 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-08-29 18:48:35 +0000 |
| commit | 8289d810ea85755a9d22f75785806cb34eecd5e5 (patch) | |
| tree | a78b7cf7c666339a21d04d99c0c28e2b6c5e016e /tools/perf/scripts/python/libxed.py | |
| parent | thermal: core: Drop unused .get_trip_*() callbacks (diff) | |
| download | kernel-8289d810ea85755a9d22f75785806cb34eecd5e5.tar.gz kernel-8289d810ea85755a9d22f75785806cb34eecd5e5.zip | |
thermal: core: Rework .get_trend() thermal zone callback
Passing a struct thermal_trip pointer instead of a trip index to the
.get_trend() thermal zone callback allows one of its 2 implementations,
the thermal_get_trend() function in the ACPI thermal driver, to be
simplified quite a bit, and the other implementation of it in the
ti-soc-thermal driver does not even use the relevant callback argument.
For this reason, change the .get_trend() thermal zone callback
definition and adjust the related code accordingly.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
