diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-10-03 12:25:35 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2023-01-06 16:14:47 +0300 |
commit | 0614755dbfc0ec3af59a2e09785acb009706259d (patch) | |
tree | 306863d8cadbf908c8364d340e99c59aa39533b1 /tools/perf/scripts/python/task-analyzer.py | |
parent | 7c3d5c20dc169e55064f7f38c1c56cfbc39ee5b2 (diff) | |
download | linux-0614755dbfc0ec3af59a2e09785acb009706259d.tar.xz |
thermal/sysfs: Always expose hysteresis attributes
Instead of avoiding to expose the hysteresis attributes of a thermal
zone when its get_trip_hyst() operation is not defined, which is
confusing, expose them always and use the default
thermal_zone_get_trip() function returning 0 hysteresis when that
operation is not present.
The hysteresis of 0 is perfectly valid, so this change should not
introduce any backwards compatibility issues.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20221003092602.1323944-3-daniel.lezcano@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions