diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-22 19:09:16 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-27 12:04:38 +0100 |
commit | 4a62d588a84e13c68017bd16bc9c2531a2cde08f (patch) | |
tree | 0b530ffe284e6789a6848b75819a32a0047dc2f9 /drivers/thermal/da9062-thermal.c | |
parent | 83c2d444ed9da7dd3536abb7596de309b8a9991f (diff) | |
download | linux-stable-4a62d588a84e13c68017bd16bc9c2531a2cde08f.tar.gz linux-stable-4a62d588a84e13c68017bd16bc9c2531a2cde08f.tar.bz2 linux-stable-4a62d588a84e13c68017bd16bc9c2531a2cde08f.zip |
thermal: core: Eliminate writable trip points masks
All of the thermal_zone_device_register_with_trips() callers pass zero
writable trip points masks to it, so drop the mask argument from that
function and update all of its callers accordingly.
This also removes the artificial trip points per zone limit of 32,
related to using writable trip points masks.
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/thermal/da9062-thermal.c')
-rw-r--r-- | drivers/thermal/da9062-thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/da9062-thermal.c b/drivers/thermal/da9062-thermal.c index 160d64913057..a27aff88cd96 100644 --- a/drivers/thermal/da9062-thermal.c +++ b/drivers/thermal/da9062-thermal.c @@ -197,7 +197,7 @@ static int da9062_thermal_probe(struct platform_device *pdev) mutex_init(&thermal->lock); thermal->zone = thermal_zone_device_register_with_trips(thermal->config->name, - trips, ARRAY_SIZE(trips), 0, thermal, + trips, ARRAY_SIZE(trips), thermal, &da9062_thermal_ops, NULL, pp_tmp, 0); if (IS_ERR(thermal->zone)) { |