diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-06-17 20:07:35 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-07-04 13:25:31 +0200 |
| commit | 6fb75c967162c28b2a50cb4673cce36e0e70e3dc (patch) | |
| tree | 1012bcce0cfa2e5eaf4718cfab695512f3337581 /tools/perf/scripts/python/flamegraph.py | |
| parent | Merge back thermal control material for v6.11. (diff) | |
| download | linux-6fb75c967162c28b2a50cb4673cce36e0e70e3dc.tar.gz linux-6fb75c967162c28b2a50cb4673cce36e0e70e3dc.zip | |
thermal: uniphier: Use thermal_zone_for_each_trip() for walking trip points
It is generally inefficient to iterate over trip indices and call
thermal_zone_get_trip() every time to get the struct thermal_trip
corresponding to the given trip index, so modify the uniphier thermal
driver to use thermal_zone_for_each_trip() for walking trips.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://patch.msgid.link/2148114.bB369e8A3T@kreacher
[ rjw: Add missing return statement, remove unused local variable ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
