diff options
| author | Rafael J. Wysocki <[email protected]> | 2023-09-21 18:01:43 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-09-28 10:57:10 +0000 |
| commit | d069ed6b752f91cea6341a9c60be42837678a7f5 (patch) | |
| tree | 471d7a17f70b621b5265961c9ea822739f98109f /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | thermal: core: Store trip pointer in struct thermal_instance (diff) | |
| download | kernel-d069ed6b752f91cea6341a9c60be42837678a7f5.tar.gz kernel-d069ed6b752f91cea6341a9c60be42837678a7f5.zip | |
thermal: core: Allow trip pointers to be used for cooling device binding
Add new helper functions, thermal_bind_cdev_to_trip() and
thermal_unbind_cdev_from_trip(), to allow a trip pointer to be used for
binding a cooling device to a trip point and unbinding it, respectively,
and redefine the existing helpers, thermal_zone_bind_cooling_device()
and thermal_zone_unbind_cooling_device(), as wrappers around the new
ones, respectively.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
