]> Gentwo Git Trees - linux/.git/commit
thermal: core: Drop unused bind/unbind functions and callbacks
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 19 Aug 2024 16:31:33 +0000 (18:31 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Aug 2024 13:42:58 +0000 (15:42 +0200)
commitc579286a514d88a3f0d3bdabfd4d88737b33cb17
tree61c067eee2b7a03806f6e83b5fbb1529fb525135
parent94c6110b0b13c641614689cd2ea502bf16f4d4b1
thermal: core: Drop unused bind/unbind functions and callbacks

There are no more callers of thermal_zone_bind_cooling_device() and
thermal_zone_unbind_cooling_device(), so drop them along with all of
the corresponding headers, code and documentation.

Moreover, because the .bind() and .unbind() thermal zone callbacks would
only be used when the above functions, respectively, were called, drop
them as well along with all of the code related to them.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Huisong Li <lihuisong@huawei.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://patch.msgid.link/4251116.1IzOArtZ34@rjwysocki.net
Documentation/driver-api/thermal/sysfs-api.rst
drivers/thermal/thermal_core.c
include/linux/thermal.h