summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2023-01-19 01:26:10 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-01-24 14:37:56 +0300
commit8c5ee9155f8ae133070b40ee4be03cafb35c188d (patch)
treefacb17705968d741381579412548ae2fe6f99bae /tools/perf/scripts/python/exported-sql-viewer.py
parent248da1fc8418c732e98726fe570d4db01385562d (diff)
downloadlinux-8c5ee9155f8ae133070b40ee4be03cafb35c188d.tar.xz
thermal/drivers/armada: Use the thermal_zone_get_crit_temp()
The driver browses the trip point to find out the critical trip temperature. However the function thermal_zone_get_crit_temp() does already that, so the routine is pointless in the driver. Use thermal_zone_get_crit_temp() instead of inspecting all the trip points. In addition, the hysteresis value is set to zero. A critical trip point does not have a hysteresis. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/r/20230118222610.186088-1-daniel.lezcano@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions