]> git.karo-electronics.de Git - linux-beck.git/commitdiff
thermal: cpu_cooling: improve line breaking
authorEduardo Valentin <eduardo.valentin@ti.com>
Wed, 17 Apr 2013 17:12:23 +0000 (17:12 +0000)
committerZhang Rui <rui.zhang@intel.com>
Sat, 27 Apr 2013 01:25:59 +0000 (09:25 +0800)
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>
include/linux/cpu_cooling.h

index f48f6fbcd3beed89e4096a15e32eb0abee76e614..282e27028418adc27dcee1f8b7831cd36c4a80ec 100644 (file)
@@ -32,8 +32,8 @@
  * 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);
+struct thermal_cooling_device *
+cpufreq_cooling_register(const struct cpumask *clip_cpus);
 
 /**
  * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
@@ -43,18 +43,18 @@ void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
 
 unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int);
 #else /* !CONFIG_CPU_THERMAL */
-static inline struct thermal_cooling_device *cpufreq_cooling_register(
-       const struct cpumask *clip_cpus)
+static inline struct thermal_cooling_device *
+cpufreq_cooling_register(const struct cpumask *clip_cpus)
 {
        return NULL;
 }
-static inline void cpufreq_cooling_unregister(
-               struct thermal_cooling_device *cdev)
+static inline
+void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
 {
        return;
 }
-static inline unsigned long cpufreq_cooling_get_level(unsigned int,
-                                                unsigned int)
+static inline
+unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int)
 {
        return THERMAL_CSTATE_INVALID;
 }