diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-07 20:11:07 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-17 11:25:22 +0200 |
commit | 96b8b4365db44af0a94b91a805cd5beed45d24fa (patch) | |
tree | 42bb2cf723090865a909389481df429d6216928f /rust/macros/paste.rs | |
parent | 68b77785a1db293582558bc1460b19e8355b8f7a (diff) |
thermal: core: Rework and rename __for_each_thermal_trip()
Rework the currently unused __for_each_thermal_trip() to pass original
pointers to struct thermal_trip objects to the callback, so it can be
used for updating trip data (e.g. temperatures), rename it to
for_each_thermal_trip() and make it available to modular drivers.
Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions