@@ -29,18 +29,9 @@
#include <linux/cpumask.h>
#ifdef CONFIG_CPU_THERMAL
-/**
- * cpufreq_cooling_register - function to create cpufreq cooling device.
- * @clip_cpus: cpumask of cpus where the frequency constraints will happen
- */
struct thermal_cooling_device *
cpufreq_cooling_register(const struct cpumask *clip_cpus);
-/**
- * of_cpufreq_cooling_register - create cpufreq cooling device based on DT.
- * @np: a valid struct device_node to the cooling device device tree node.
- * @clip_cpus: cpumask of cpus where the frequency constraints will happen
- */
#ifdef CONFIG_THERMAL_OF
struct thermal_cooling_device *
of_cpufreq_cooling_register(struct device_node *np,
@@ -54,10 +45,6 @@ of_cpufreq_cooling_register(struct device_node *np,
}
#endif
-/**
- * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
- * @cdev: thermal cooling device pointer.
- */
void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq);
This patch removes the kernel docs from cpu_cooling.h. The entries found in this file are already documented in cpu_cooling.c. The entries in cpu_cooling.c are more complete than those in cpu_cooling.h. Thus, removing from cpu_cooling.h Signed-off-by: Eduardo Valentin <edubezval@gmail.com> --- include/linux/cpu_cooling.h | 13 ------------- 1 file changed, 13 deletions(-)