diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-09-21 20:01:43 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-09-28 12:57:10 +0200 |
commit | d069ed6b752f91cea6341a9c60be42837678a7f5 (patch) | |
tree | 471d7a17f70b621b5265961c9ea822739f98109f /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 2c7b4bfadef08cc0995c24a7b9eb120fe897165f (diff) |
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 <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions