lkml.org 
[lkml]   [2015]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH RFC 03/12] thermal: cpu_cooling: remove duplicate documentation entries
Date
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(-)

diff --git a/include/linux/cpu_cooling.h b/include/linux/cpu_cooling.h
index bd95527..a8d827c 100644
--- a/include/linux/cpu_cooling.h
+++ b/include/linux/cpu_cooling.h
@@ -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);
--
2.1.3


\
 
 \ /
  Last update: 2015-02-10 02:01    [W:0.143 / U:4.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site