diff options
| author | Thorsten Blum <blum@kernel.org> | 2026-09-16 00:15:48 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-25 21:19:44 +0200 |
| commit | 23b16b517814c367e593be96e477818ec5b2abff (patch) | |
| tree | de6400542cec62a461272721abc8591bdac19ff4 /tools/perf/scripts/python | |
| parent | bbc68b683da15e43ba4c2ae05429f2c6264107d9 (diff) | |
thermal: intel: powerclamp: Simplify duration_get()
Use guard(mutex) and return the result of sysfs_emit() directly to
simplify the code. Also use %u to format the unsigned duration.
Signed-off-by: Thorsten Blum <blum@kernel.org>
Link: https://patch.msgid.link/20260915221548.104852-3-blum@kernel.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
