Rafael J. Wysocki c690dce5dc thermal: core: Introduce thermal_instance_delete()
It is not necessary to walk the thermal_instances list in a trip
descriptor under a cooling device lock, so acquire that lock only
for deleting the given thermal instance from the list of thermal
instances in the given cdev.

Moreover, in analogy with the previous change that introduced
thermal_instance_add(), put the code deleting the given thermal
instance from the lists it is on into a separate new function
called thermal_instance_delete().

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3275745.5fSG56mABF@rjwysocki.net
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
2024-10-23 11:57:04 +02:00
..
2024-09-19 11:12:49 +02:00
2024-09-27 11:42:03 -07:00
2024-09-27 09:05:18 -07:00
2024-09-27 08:48:37 -07:00
2024-09-27 10:27:22 -07:00
2024-09-27 08:48:37 -07:00
2024-09-26 12:00:25 -07:00
2024-09-17 15:27:01 +02:00
2024-09-18 10:49:45 +02:00
2024-09-27 11:42:03 -07:00
2024-09-26 12:00:25 -07:00
2024-09-19 10:18:15 +02:00
2024-09-28 08:47:46 -07:00
2024-09-19 10:18:15 +02:00
2024-09-29 09:47:33 -07:00
2024-09-09 08:36:23 +02:00
2024-09-27 09:12:51 -07:00
2024-09-29 09:22:34 -07:00
2024-09-26 08:43:17 -07:00
2024-09-25 14:56:40 -07:00
2024-09-24 13:02:06 -07:00
2024-09-23 12:47:06 -07:00
2024-09-23 14:05:10 -07:00
2024-09-26 12:00:25 -07:00
2024-09-26 12:00:25 -07:00
2024-09-26 12:00:25 -07:00
2024-09-29 09:22:34 -07:00
2024-09-26 12:00:25 -07:00
2024-09-23 14:00:46 -07:00
2024-09-09 12:22:06 +02:00
2024-09-29 09:22:34 -07:00
2024-09-11 16:02:54 +02:00
2024-09-26 08:43:17 -07:00
2024-09-26 08:43:17 -07:00
2024-09-26 08:43:17 -07:00
2024-09-27 09:55:30 -07:00