diff options
author | Rafael J. Wysocki <[email protected]> | 2023-10-03 15:17:24 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-10-05 13:13:40 +0200 |
commit | a56cc0a8338523f709892696cc229527617c1316 (patch) | |
tree | 6877546259b1c0d9e39f0cdf966d1fb44071805f /scripts/generate_rust_analyzer.py | |
parent | d069ed6b752f91cea6341a9c60be42837678a7f5 (diff) |
thermal: core: Add function to walk trips under zone lock
Add a wrapper around for_each_thermal_trip(), called
thermal_zone_for_each_trip(), that will invoke the former under the
thermal zone lock and pass its return value to the caller.
Two drivers will be modified subsequently to use this new function.
No functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions