aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-04-17 13:12:23 -0400
committerZhang Rui <rui.zhang@intel.com>2013-04-26 21:25:59 -0400
commitd44ada516277f5d58b9bda2ea0a2c9503b316bbf (patch)
tree9e5f736f59e98b1e559171ab6ded5d88e9526a11 /include
parent5fda7f680a44c65ce44fbe37f254b8a82f49d241 (diff)
thermal: cpu_cooling: improve line breaking
To improve code readiness, change the way the lines are broken in this file. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpu_cooling.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/cpu_cooling.h b/include/linux/cpu_cooling.h
index f48f6fbcd3be..282e27028418 100644
--- a/include/linux/cpu_cooling.h
+++ b/include/linux/cpu_cooling.h
@@ -32,8 +32,8 @@
32 * cpufreq_cooling_register - function to create cpufreq cooling device. 32 * cpufreq_cooling_register - function to create cpufreq cooling device.
33 * @clip_cpus: cpumask of cpus where the frequency constraints will happen 33 * @clip_cpus: cpumask of cpus where the frequency constraints will happen
34 */ 34 */
35struct thermal_cooling_device *cpufreq_cooling_register( 35struct thermal_cooling_device *
36 const struct cpumask *clip_cpus); 36cpufreq_cooling_register(const struct cpumask *clip_cpus);
37 37
38/** 38/**
39 * cpufreq_cooling_unregister - function to remove cpufreq cooling device. 39 * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
@@ -43,18 +43,18 @@ void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
43 43
44unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int); 44unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int);
45#else /* !CONFIG_CPU_THERMAL */ 45#else /* !CONFIG_CPU_THERMAL */
46static inline struct thermal_cooling_device *cpufreq_cooling_register( 46static inline struct thermal_cooling_device *
47 const struct cpumask *clip_cpus) 47cpufreq_cooling_register(const struct cpumask *clip_cpus)
48{ 48{
49 return NULL; 49 return NULL;
50} 50}
51static inline void cpufreq_cooling_unregister( 51static inline
52 struct thermal_cooling_device *cdev) 52void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
53{ 53{
54 return; 54 return;
55} 55}
56static inline unsigned long cpufreq_cooling_get_level(unsigned int, 56static inline
57 unsigned int) 57unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int)
58{ 58{
59 return THERMAL_CSTATE_INVALID; 59 return THERMAL_CSTATE_INVALID;
60} 60}