Documented in 2 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/thermal/ti-soc-thermal/ti-thermal-common.c ti_thermal_unregister_cpu_cooling() -> cpufreq_cooling_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/cpufreq/cpufreq.c cpufreq_remove_dev() -> cpufreq_cooling_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &policy->rwsem
LOCK2 &sp->mutex
TYPE_LOCK (struct cpufreq_policy)->rwsem
TYPE_LOCK (struct subsys_private)->mutex

drivers/thermal/imx_thermal.c imx_thermal_unregister_legacy_cooling() -> cpufreq_cooling_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex