summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-30 19:16:29 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-09-05 22:42:18 +0300
commitedd220b33f479cf9dcda0bfefb2cb8c5902e9885 (patch)
tree6673b90bd095f2bb3b521a1a76373da255761114 /drivers/thermal
parentcbcd51e822bf51dfc7715f474c24fbca0ed23fce (diff)
downloadlinux-edd220b33f479cf9dcda0bfefb2cb8c5902e9885.tar.xz
thermal: core: Drop thermal_zone_device_register()
There are no more users of thermal_zone_device_register(), so drop it from the core. Note that thermal_zone_device_register_with_trips() may be renamed to thermal_zone_device_register() in the future, but only after a grace period allowing all of the possible work in progress that may be using the latter to adjust. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/thermal_core.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index 33ebec043800..8717a3343512 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -1389,17 +1389,6 @@ free_tz:
}
EXPORT_SYMBOL_GPL(thermal_zone_device_register_with_trips);
-struct thermal_zone_device *thermal_zone_device_register(const char *type, int ntrips, int mask,
- void *devdata, struct thermal_zone_device_ops *ops,
- const struct thermal_zone_params *tzp, int passive_delay,
- int polling_delay)
-{
- return thermal_zone_device_register_with_trips(type, NULL, ntrips, mask,
- devdata, ops, tzp,
- passive_delay, polling_delay);
-}
-EXPORT_SYMBOL_GPL(thermal_zone_device_register);
-
struct thermal_zone_device *thermal_tripless_zone_device_register(
const char *type,
void *devdata,