提交 d44ada51 编写于 作者: E Eduardo Valentin 提交者: Zhang Rui

thermal: cpu_cooling: improve line breaking

To improve code readiness, change the way the lines
are broken in this file.
Signed-off-by: NEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: NZhang Rui <rui.zhang@intel.com>
上级 5fda7f68
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
* cpufreq_cooling_register - function to create cpufreq cooling device. * cpufreq_cooling_register - function to create cpufreq cooling device.
* @clip_cpus: cpumask of cpus where the frequency constraints will happen * @clip_cpus: cpumask of cpus where the frequency constraints will happen
*/ */
struct thermal_cooling_device *cpufreq_cooling_register( struct thermal_cooling_device *
const struct cpumask *clip_cpus); cpufreq_cooling_register(const struct cpumask *clip_cpus);
/** /**
* cpufreq_cooling_unregister - function to remove cpufreq cooling device. * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
...@@ -43,18 +43,18 @@ void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev); ...@@ -43,18 +43,18 @@ void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int); unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int);
#else /* !CONFIG_CPU_THERMAL */ #else /* !CONFIG_CPU_THERMAL */
static inline struct thermal_cooling_device *cpufreq_cooling_register( static inline struct thermal_cooling_device *
const struct cpumask *clip_cpus) cpufreq_cooling_register(const struct cpumask *clip_cpus)
{ {
return NULL; return NULL;
} }
static inline void cpufreq_cooling_unregister( static inline
struct thermal_cooling_device *cdev) void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
{ {
return; return;
} }
static inline unsigned long cpufreq_cooling_get_level(unsigned int, static inline
unsigned int) unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int)
{ {
return THERMAL_CSTATE_INVALID; return THERMAL_CSTATE_INVALID;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册