diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-07-02 17:41:03 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-07-09 19:22:59 +0300 |
commit | d1fbf18a0f9403df2edeffa1c7f5a2d66e82c20a (patch) | |
tree | c2f5eba88c11128df42f56c62070b4bccbcdac46 /rust/helpers/task.c | |
parent | 463b86fed2b25ddb5f576376bfea00134dd23030 (diff) | |
download | linux-d1fbf18a0f9403df2edeffa1c7f5a2d66e82c20a.tar.xz |
thermal: trip: Add conversion macros for thermal trip priv field
Some drivers will need to store integers in the priv field of struct
thermal_trip, so add conversion macros for doing this in a consistent
way and switch over the int340x_thermal driver that already does it and
uses custom conversion functions to using the new macros.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3297884.aeNJFYEL58@rjwysocki.net
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions